#D8A4F6

Closest named color: Lilac (#CEA2FD). oklch(79.5% 0.125 312.6), rgb(216, 164, 246).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.56:1
White text1.98:1

Values

HEX#D8A4F6
RGBrgb(216, 164, 246)
HSLhsl(278, 82%, 80%)
OKLCHoklch(79.5% 0.125 312.6)

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 #D8A4F6 1.98:1 Fails Lc -42.8 Non-text elements, placeholder text
Black text on #D8A4F6 10.56:1 AAA Lc 65.6 Content text, not long reading
#D8A4F6 text on white 1.98:1 Fails Lc 38.4 Non-text elements, placeholder text
#D8A4F6 text on black 10.56:1 AAA Lc -64.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

    #F9F2FE

    oklch(97% 0.017 311.6)

  2. Step 100

    100

    #F2E3FC

    oklch(93.5% 0.037 312.1)

  3. Step 200

    200

    #E9CCFB

    oklch(88.4% 0.071 312.5)

  4. Step 300

    300 (this color)

    #D8A4F6

    oklch(79.5% 0.125 312.6)

  5. Step 400

    400

    #CB74F8

    oklch(70.7% 0.201 312.8)

  6. Step 500

    500

    #BD43F5

    oklch(63.1% 0.257 312.6)

  7. Step 600

    600

    #A800E3

    oklch(55.6% 0.277 312.4)

  8. Step 700

    700

    #8E00C0

    oklch(49.1% 0.245 312.6)

  9. Step 800

    800

    #75009F

    oklch(42.7% 0.213 312.6)

  10. Step 900

    900

    #5F157F

    oklch(37.8% 0.167 312.6)

  11. Step 950

    950

    #38104A

    oklch(27.1% 0.105 313.2)

Export this scale for Tailwind in the Tailwind colors tool

#D8A4F6 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)#96B5F90.096
Deuteranopia (no green cones)#A2B9F40.089
Tritanopia (no blue cones)#D5AFC20.088
Achromatopsia (no color)#B8B8B80.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8A4F6

    #D8A4F6

    oklch(79.5% 0.125 312.6)

  • #9DCD77

    #9DCD77

    oklch(79.4% 0.125 132.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8A4F6

    #D8A4F6

    oklch(79.5% 0.125 312.6)

  • #B2B4FF

    #B2B4FF

    oklch(79.6% 0.106 282.5)

  • #F49BD2

    #F49BD2

    oklch(79.5% 0.126 342.6)

Open the analogous palette in the generator

Split complementary

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

  • #D8A4F6

    #D8A4F6

    oklch(79.5% 0.125 312.6)

  • #CBBF58

    #CBBF58

    oklch(79.4% 0.125 102.7)

  • #66D5A4

    #66D5A4

    oklch(79.4% 0.125 162.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8A4F6

    #D8A4F6

    oklch(79.5% 0.125 312.6)

  • #EDAF59

    #EDAF59

    oklch(79.6% 0.126 73.2)

  • #37D5D2

    #37D5D2

    oklch(79.5% 0.125 193)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8A4F6

    #D8A4F6

    oklch(79.5% 0.125 312.6)

  • #FFA17B

    #FFA17B

    oklch(79.6% 0.124 42.6)

  • #9DCD77

    #9DCD77

    oklch(79.4% 0.125 132.4)

  • #4BCEF6

    #4BCEF6

    oklch(79.6% 0.125 222.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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