#D799EF

Closest named color: Baby Purple (#CA9BF7). oklch(77.3% 0.136 316.2), rgb(215, 153, 239).

Aa

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

About this color

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

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

Values

HEX#D799EF
RGBrgb(215, 153, 239)
HSLhsl(283, 73%, 77%)
OKLCHoklch(77.3% 0.136 316.2)

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 #D799EF 2.16:1 Fails Lc -47.2 Large or bold text, headings
Black text on #D799EF 9.69:1 AAA Lc 61.5 Content text, not long reading
#D799EF text on white 2.16:1 Fails Lc 42.4 Non-text elements, placeholder text
#D799EF text on black 9.69:1 AAA Lc -59.8 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

    #F5E2FC

    oklch(93.6% 0.04 317)

  3. Step 200

    200

    #EDCAFB

    oklch(88.4% 0.076 316.3)

  4. Step 300

    300 (this color)

    #D799EF

    oklch(77.3% 0.136 316.2)

  5. Step 400

    400

    #D46CF9

    oklch(70.7% 0.217 316.3)

  6. Step 500

    500

    #C731F6

    oklch(63.1% 0.278 316.1)

  7. Step 600

    600

    #AD00DA

    oklch(55.6% 0.272 316.1)

  8. Step 700

    700

    #9200B8

    oklch(49% 0.24 316.2)

  9. Step 800

    800

    #790099

    oklch(42.8% 0.209 316.2)

  10. Step 900

    900

    #65047F

    oklch(37.7% 0.181 316.6)

  11. Step 950

    950

    #3B0A4B

    oklch(27% 0.115 316)

Export this scale for Tailwind in the Tailwind colors tool

#D799EF 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)#8CACF20.111
Deuteranopia (no green cones)#9BB2EC0.102
Tritanopia (no blue cones)#D6A4B90.091
Achromatopsia (no color)#B0B0B00.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #D799EF

    #D799EF

    oklch(77.3% 0.136 316.2)

  • #8CC96F

    #8CC96F

    oklch(77.3% 0.136 136.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D799EF

    #D799EF

    oklch(77.3% 0.136 316.2)

  • #AFA9FF

    #AFA9FF

    oklch(77.3% 0.122 286.4)

  • #F390C7

    #F390C7

    oklch(77.3% 0.136 346.3)

Open the analogous palette in the generator

Split complementary

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

  • #D799EF

    #D799EF

    oklch(77.3% 0.136 316.2)

  • #C0BA47

    #C0BA47

    oklch(77.2% 0.135 106.3)

  • #49D0A1

    #49D0A1

    oklch(77.2% 0.136 166.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D799EF

    #D799EF

    oklch(77.3% 0.136 316.2)

  • #E6A843

    #E6A843

    oklch(77.3% 0.136 76.1)

  • #00CED1

    #00CED1

    oklch(77.2% 0.131 196.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D799EF

    #D799EF

    oklch(77.3% 0.136 316.2)

  • #FB9867

    #FB9867

    oklch(77.2% 0.135 46.4)

  • #8CC96F

    #8CC96F

    oklch(77.3% 0.136 136.3)

  • #34C6F7

    #34C6F7

    oklch(77.3% 0.136 226.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #D799EF 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.