#D8A6F7

Closest named color: Lilac (#CEA2FD). oklch(79.9% 0.123 311.9), rgb(216, 166, 247).

Aa

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

About this color

#D8A6F7 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.123 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.022 away. Black text reads best on it, at 10.71:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.71:1
White text1.95:1

Values

HEX#D8A6F7
RGBrgb(216, 166, 247)
HSLhsl(277, 84%, 81%)
OKLCHoklch(79.9% 0.123 311.9)

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 #D8A6F7 1.95:1 Fails Lc -42.0 Non-text elements, placeholder text
Black text on #D8A6F7 10.71:1 AAA Lc 66.3 Content text, not long reading
#D8A6F7 text on white 1.95:1 Fails Lc 37.6 Non-text elements, placeholder text
#D8A6F7 text on black 10.71:1 AAA Lc -64.8 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

    #F9F2FE

    oklch(97% 0.017 311.6)

  2. Step 100

    100

    #F2E4FC

    oklch(93.7% 0.035 311.4)

  3. Step 200

    200

    #E8CDFB

    oklch(88.5% 0.068 311.3)

  4. Step 300

    300 (this color)

    #D8A6F7

    oklch(79.9% 0.123 311.9)

  5. Step 400

    400

    #C976F8

    oklch(70.8% 0.197 311.9)

  6. Step 500

    500

    #BB46F4

    oklch(63.1% 0.252 312.1)

  7. Step 600

    600

    #A70CE3

    oklch(55.7% 0.274 312)

  8. Step 700

    700

    #8D00C2

    oklch(49.1% 0.246 311.7)

  9. Step 800

    800

    #74049F

    oklch(42.7% 0.211 312)

  10. Step 900

    900

    #5E177E

    oklch(37.7% 0.164 312.3)

  11. Step 950

    950

    #37114A

    oklch(27% 0.104 312)

Export this scale for Tailwind in the Tailwind colors tool

#D8A6F7 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)#98B7FA0.093
Deuteranopia (no green cones)#A3BAF50.086
Tritanopia (no blue cones)#D5B1C40.087
Achromatopsia (no color)#B9B9B90.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8A6F7

    #D8A6F7

    oklch(79.9% 0.123 311.9)

  • #A0CE79

    #A0CE79

    oklch(79.9% 0.123 131.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8A6F7

    #D8A6F7

    oklch(79.9% 0.123 311.9)

  • #B2B5FF

    #B2B5FF

    oklch(79.8% 0.105 282)

  • #F49DD4

    #F49DD4

    oklch(79.9% 0.124 341.9)

Open the analogous palette in the generator

Split complementary

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

  • #D8A6F7

    #D8A6F7

    oklch(79.9% 0.123 311.9)

  • #CDC05B

    #CDC05B

    oklch(79.8% 0.123 102)

  • #6BD6A5

    #6BD6A5

    oklch(79.9% 0.123 161.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8A6F7

    #D8A6F7

    oklch(79.9% 0.123 311.9)

  • #EEB05E

    #EEB05E

    oklch(79.9% 0.123 72.1)

  • #3FD6D2

    #3FD6D2

    oklch(79.9% 0.123 192.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8A6F7

    #D8A6F7

    oklch(79.9% 0.123 311.9)

  • #FFA37F

    #FFA37F

    oklch(80% 0.12 42.1)

  • #A0CE79

    #A0CE79

    oklch(79.9% 0.123 131.8)

  • #4FCFF6

    #4FCFF6

    oklch(80% 0.123 221.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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