#D8A2EF

Closest named color: Lilac (#CEA2FD). oklch(78.9% 0.121 315.5), rgb(216, 162, 239).

Aa

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

About this color

#D8A2EF is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.121 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.025 away. Black text reads best on it, at 10.33:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.33:1
White text2.03:1

Values

HEX#D8A2EF
RGBrgb(216, 162, 239)
HSLhsl(282, 71%, 79%)
OKLCHoklch(78.9% 0.121 315.5)

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 #D8A2EF 2.03:1 Fails Lc -43.9 Non-text elements, placeholder text
Black text on #D8A2EF 10.33:1 AAA Lc 64.5 Content text, not long reading
#D8A2EF text on white 2.03:1 Fails Lc 39.4 Non-text elements, placeholder text
#D8A2EF text on black 10.33:1 AAA Lc -62.9 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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F3E3FA

    oklch(93.5% 0.035 315.7)

  3. Step 200

    200

    #EBCCF8

    oklch(88.5% 0.068 315.9)

  4. Step 300

    300 (this color)

    #D8A2EF

    oklch(78.9% 0.121 315.5)

  5. Step 400

    400

    #CD75F1

    oklch(70.7% 0.193 315.3)

  6. Step 500

    500

    #C046EC

    oklch(63.2% 0.247 315.5)

  7. Step 600

    600

    #AB0CDA

    oklch(55.6% 0.268 315.3)

  8. Step 700

    700

    #9100BA

    oklch(49% 0.241 315.3)

  9. Step 800

    800

    #770599

    oklch(42.7% 0.207 315.3)

  10. Step 900

    900

    #60177A

    oklch(37.7% 0.161 315.1)

  11. Step 950

    950

    #391047

    oklch(27% 0.103 316.1)

Export this scale for Tailwind in the Tailwind colors tool

#D8A2EF 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)#97B3F20.096
Deuteranopia (no green cones)#A3B7ED0.088
Tritanopia (no blue cones)#D7ABBE0.081
Achromatopsia (no color)#B6B6B60.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8A2EF

    #D8A2EF

    oklch(78.9% 0.121 315.5)

  • #97CC7C

    #97CC7C

    oklch(78.9% 0.121 135.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8A2EF

    #D8A2EF

    oklch(78.9% 0.121 315.5)

  • #B3B0FF

    #B3B0FF

    oklch(78.9% 0.111 285.3)

  • #F29ACB

    #F29ACB

    oklch(78.9% 0.121 345.7)

Open the analogous palette in the generator

Split complementary

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

  • #D8A2EF

    #D8A2EF

    oklch(78.9% 0.121 315.5)

  • #C5BF5D

    #C5BF5D

    oklch(79% 0.121 105.7)

  • #63D3A8

    #63D3A8

    oklch(78.9% 0.121 165.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8A2EF

    #D8A2EF

    oklch(78.9% 0.121 315.5)

  • #E7AF5B

    #E7AF5B

    oklch(78.9% 0.121 75.5)

  • #3DD2D3

    #3DD2D3

    oklch(78.9% 0.121 195.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8A2EF

    #D8A2EF

    oklch(78.9% 0.121 315.5)

  • #FAA177

    #FAA177

    oklch(78.9% 0.12 45.8)

  • #97CC7C

    #97CC7C

    oklch(78.9% 0.121 135.6)

  • #54CAF5

    #54CAF5

    oklch(78.9% 0.121 225.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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