#D8A4F7

Closest named color: Lilac (#CEA2FD). oklch(79.6% 0.127 312.3), rgb(216, 164, 247).

Aa

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

About this color

#D8A4F7 is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.127 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.019 away. Black text reads best on it, at 10.57:1.

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

Values

HEX#D8A4F7
RGBrgb(216, 164, 247)
HSLhsl(278, 84%, 81%)
OKLCHoklch(79.6% 0.127 312.3)

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 #D8A4F7 1.98:1 Fails Lc -42.7 Non-text elements, placeholder text
Black text on #D8A4F7 10.57:1 AAA Lc 65.6 Content text, not long reading
#D8A4F7 text on white 1.98:1 Fails Lc 38.3 Non-text elements, placeholder text
#D8A4F7 text on black 10.57:1 AAA Lc -64.1 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)

    #D8A4F7

    oklch(79.6% 0.127 312.3)

  5. Step 400

    400

    #CB74FA

    oklch(70.8% 0.203 312.3)

  6. Step 500

    500

    #BD42F6

    oklch(63.1% 0.259 312.5)

  7. Step 600

    600

    #A800E4

    oklch(55.6% 0.278 312.2)

  8. Step 700

    700

    #8E00C1

    oklch(49.2% 0.246 312.3)

  9. Step 800

    800

    #7500A0

    oklch(42.8% 0.214 312.3)

  10. Step 900

    900

    #5F1480

    oklch(37.8% 0.169 312.3)

  11. Step 950

    950

    #380F4B

    oklch(27% 0.108 312.7)

Export this scale for Tailwind in the Tailwind colors tool

#D8A4F7 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)#96B5FA0.096
Deuteranopia (no green cones)#A2B9F50.088
Tritanopia (no blue cones)#D5AFC20.090
Achromatopsia (no color)#B8B8B80.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8A4F7

    #D8A4F7

    oklch(79.6% 0.127 312.3)

  • #9DCE76

    #9DCE76

    oklch(79.6% 0.128 132.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8A4F7

    #D8A4F7

    oklch(79.6% 0.127 312.3)

  • #B2B4FF

    #B2B4FF

    oklch(79.6% 0.106 282.5)

  • #F49BD3

    #F49BD3

    oklch(79.6% 0.126 342.1)

Open the analogous palette in the generator

Split complementary

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

  • #D8A4F7

    #D8A4F7

    oklch(79.6% 0.127 312.3)

  • #CCBF57

    #CCBF57

    oklch(79.5% 0.126 102.2)

  • #65D6A4

    #65D6A4

    oklch(79.6% 0.127 162.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8A4F7

    #D8A4F7

    oklch(79.6% 0.127 312.3)

  • #EEAE59

    #EEAE59

    oklch(79.5% 0.126 72)

  • #34D6D2

    #34D6D2

    oklch(79.7% 0.127 192.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8A4F7

    #D8A4F7

    oklch(79.6% 0.127 312.3)

  • #FFA17C

    #FFA17C

    oklch(79.6% 0.123 42.1)

  • #9DCE76

    #9DCE76

    oklch(79.6% 0.128 132.4)

  • #48CEF7

    #48CEF7

    oklch(79.6% 0.127 222.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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