#D39DF8

Closest named color: Lilac (#CEA2FD). oklch(77.9% 0.138 310.7), rgb(211, 157, 248).

Aa

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

About this color

#D39DF8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.138 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.014 away. Black text reads best on it, at 9.94:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text9.94:1
White text2.11:1

Values

HEX#D39DF8
RGBrgb(211, 157, 248)
HSLhsl(276, 87%, 79%)
OKLCHoklch(77.9% 0.138 310.7)

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 #D39DF8 2.11:1 Fails Lc -45.9 Large or bold text, headings
Black text on #D39DF8 9.94:1 AAA Lc 62.7 Content text, not long reading
#D39DF8 text on white 2.11:1 Fails Lc 41.2 Non-text elements, placeholder text
#D39DF8 text on black 9.94:1 AAA Lc -61.0 Content text, not long reading

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

    #F9F2FF

    oklch(97% 0.019 309.8)

  2. Step 100

    100

    #F2E3FE

    oklch(93.6% 0.039 310.3)

  3. Step 200

    200

    #E9CCFF

    oklch(88.6% 0.075 310.4)

  4. Step 300

    300 (this color)

    #D39DF8

    oklch(77.9% 0.138 310.7)

  5. Step 400

    400

    #C972FF

    oklch(70.6% 0.21 310.6)

  6. Step 500

    500

    #BC3BFF

    oklch(63% 0.273 310.6)

  7. Step 600

    600

    #A600E7

    oklch(55.6% 0.28 310.9)

  8. Step 700

    700

    #8C00C4

    oklch(49.1% 0.247 310.8)

  9. Step 800

    800

    #7300A2

    oklch(42.6% 0.215 310.8)

  10. Step 900

    900

    #5F0887

    oklch(37.7% 0.183 310.3)

  11. Step 950

    950

    #380C4F

    oklch(27% 0.116 310.6)

Export this scale for Tailwind in the Tailwind colors tool

#D39DF8 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)#8CB0FB0.104
Deuteranopia (no green cones)#98B4F50.097
Tritanopia (no blue cones)#CFAABF0.098
Achromatopsia (no color)#B2B2B20.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #D39DF8

    #D39DF8

    oklch(77.9% 0.138 310.7)

  • #98C967

    #98C967

    oklch(77.9% 0.138 130.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D39DF8

    #D39DF8

    oklch(77.9% 0.138 310.7)

  • #AAAFFF

    #AAAFFF

    oklch(78% 0.114 280.7)

  • #F293D2

    #F293D2

    oklch(78% 0.137 340.7)

Open the analogous palette in the generator

Split complementary

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

  • #D39DF8

    #D39DF8

    oklch(77.9% 0.138 310.7)

  • #CBB942

    #CBB942

    oklch(77.9% 0.138 100.6)

  • #57D29A

    #57D29A

    oklch(77.9% 0.137 160.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D39DF8

    #D39DF8

    oklch(77.9% 0.138 310.7)

  • #EEA748

    #EEA748

    oklch(78% 0.137 71)

  • #00D2CB

    #00D2CB

    oklch(78% 0.134 190.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D39DF8

    #D39DF8

    oklch(77.9% 0.138 310.7)

  • #FF9873

    #FF9873

    oklch(77.9% 0.134 40.4)

  • #98C967

    #98C967

    oklch(77.9% 0.138 130.8)

  • #21CAF4

    #21CAF4

    oklch(77.8% 0.137 220.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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