#D8A6FF

Closest named color: Lilac (#CEA2FD). oklch(80.3% 0.133 309.4), rgb(216, 166, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.133)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.81:1
White text1.94:1

Values

HEX#D8A6FF
RGBrgb(216, 166, 255)
HSLhsl(274, 100%, 83%)
OKLCHoklch(80.3% 0.133 309.4)

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 #D8A6FF 1.94:1 Fails Lc -41.5 Non-text elements, placeholder text
Black text on #D8A6FF 10.81:1 AAA Lc 66.8 Content text, not long reading
#D8A6FF text on white 1.94:1 Fails Lc 37.1 Non-text elements, placeholder text
#D8A6FF text on black 10.81:1 AAA Lc -65.3 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

    #F1E3FE

    oklch(93.5% 0.039 308.8)

  3. Step 200

    200

    #E8CCFF

    oklch(88.5% 0.075 309.6)

  4. Step 300

    300 (this color)

    #D8A6FF

    oklch(80.3% 0.133 309.4)

  5. Step 400

    400

    #C675FF

    oklch(70.7% 0.205 309.2)

  6. Step 500

    500

    #B941FF

    oklch(63.1% 0.267 309.4)

  7. Step 600

    600

    #A400EB

    oklch(55.7% 0.282 309.4)

  8. Step 700

    700

    #8A00C7

    oklch(49.1% 0.249 309.3)

  9. Step 800

    800

    #7200A5

    oklch(42.8% 0.217 309.4)

  10. Step 900

    900

    #5D1086

    oklch(37.7% 0.177 309.2)

  11. Step 950

    950

    #370E4E

    oklch(27% 0.112 310.1)

Export this scale for Tailwind in the Tailwind colors tool

#D8A6FF 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)#95B8FF0.098
Deuteranopia (no green cones)#A0BBFC0.090
Tritanopia (no blue cones)#D3B3C70.097
Achromatopsia (no color)#BABABA0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8A6FF

    #D8A6FF

    oklch(80.3% 0.133 309.4)

  • #A3CF70

    #A3CF70

    oklch(80.2% 0.132 129.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8A6FF

    #D8A6FF

    oklch(80.3% 0.133 309.4)

  • #B1B8FF

    #B1B8FF

    oklch(80.3% 0.101 279.5)

  • #F79CDA

    #F79CDA

    oklch(80.3% 0.132 339.6)

Open the analogous palette in the generator

Split complementary

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

  • #D8A6FF

    #D8A6FF

    oklch(80.3% 0.133 309.4)

  • #D3C050

    #D3C050

    oklch(80.3% 0.133 99.7)

  • #67D9A0

    #67D9A0

    oklch(80.4% 0.133 159.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8A6FF

    #D8A6FF

    oklch(80.3% 0.133 309.4)

  • #F5AE57

    #F5AE57

    oklch(80.2% 0.132 69.4)

  • #28D9D0

    #28D9D0

    oklch(80.1% 0.133 189.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8A6FF

    #D8A6FF

    oklch(80.3% 0.133 309.4)

  • #FFA485

    #FFA485

    oklch(80.3% 0.117 39.6)

  • #A3CF70

    #A3CF70

    oklch(80.2% 0.132 129.4)

  • #3AD2F9

    #3AD2F9

    oklch(80.3% 0.133 219.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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