#D799EC

Closest named color: Baby Purple (#CA9BF7). oklch(77.1% 0.132 317.3), rgb(215, 153, 236).

Aa

Black text reads best on this color (9.65:1).

About this color

#D799EC is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.132 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.025 away. Black text reads best on it, at 9.65:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.65:1
White text2.17:1

Values

HEX#D799EC
RGBrgb(215, 153, 236)
HSLhsl(285, 69%, 76%)
OKLCHoklch(77.1% 0.132 317.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #D799EC 2.17:1 Fails Lc -47.3 Large or bold text, headings
Black text on #D799EC 9.65:1 AAA Lc 61.3 Content text, not long reading
#D799EC text on white 2.17:1 Fails Lc 42.6 Non-text elements, placeholder text
#D799EC text on black 9.65:1 AAA Lc -59.6 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 300.

  1. Step 50

    50

    #FAF2FE

    oklch(97.1% 0.018 314.7)

  2. Step 100

    100

    #F5E2FB

    oklch(93.5% 0.039 318.1)

  3. Step 200

    200

    #EDCBFA

    oklch(88.5% 0.073 316.6)

  4. Step 300

    300 (this color)

    #D799EC

    oklch(77.1% 0.132 317.3)

  5. Step 400

    400

    #D46DF5

    oklch(70.6% 0.212 317.3)

  6. Step 500

    500

    #C835F1

    oklch(63.2% 0.271 317.4)

  7. Step 600

    600

    #AF00D7

    oklch(55.7% 0.271 317.4)

  8. Step 700

    700

    #9400B6

    oklch(49.2% 0.239 317.5)

  9. Step 800

    800

    #7A0097

    oklch(42.8% 0.208 317.3)

  10. Step 900

    900

    #65087D

    oklch(37.8% 0.177 317.3)

  11. Step 950

    950

    #3B0B49

    oklch(26.9% 0.112 317.2)

Export this scale for Tailwind in the Tailwind colors tool

#D799EC with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#8DACEF0.110
Deuteranopia (no green cones)#9CB2E90.101
Tritanopia (no blue cones)#D7A3B80.087
Achromatopsia (no color)#B0B0B00.133

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #D799EC

    #D799EC

    oklch(77.1% 0.132 317.3)

  • #8BC873

    #8BC873

    oklch(77.1% 0.131 137.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D799EC

    #D799EC

    oklch(77.1% 0.132 317.3)

  • #B0A8FF

    #B0A8FF

    oklch(77.2% 0.123 287.4)

  • #F290C4

    #F290C4

    oklch(77.1% 0.133 347.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #D799EC

    #D799EC

    oklch(77.1% 0.132 317.3)

  • #BEBA4B

    #BEBA4B

    oklch(77.1% 0.132 107.2)

  • #4BCFA3

    #4BCFA3

    oklch(77.1% 0.132 167.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D799EC

    #D799EC

    oklch(77.1% 0.132 317.3)

  • #E3A946

    #E3A946

    oklch(77.1% 0.132 77.7)

  • #00CED2

    #00CED2

    oklch(77.2% 0.131 197.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D799EC

    #D799EC

    oklch(77.1% 0.132 317.3)

  • #F99967

    #F99967

    oklch(77.2% 0.133 47.6)

  • #8BC873

    #8BC873

    oklch(77.1% 0.131 137.3)

  • #3EC5F6

    #3EC5F6

    oklch(77.2% 0.132 227.1)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D799EC, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #D799EC in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.