#D8A2F8

Closest named color: Lilac (#CEA2FD). oklch(79.3% 0.131 312.3), rgb(216, 162, 248).

Aa

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

About this color

#D8A2F8 is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.131 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.017 away. Black text reads best on it, at 10.44:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.131)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.44:1
White text2.01:1

Values

HEX#D8A2F8
RGBrgb(216, 162, 248)
HSLhsl(278, 86%, 80%)
OKLCHoklch(79.3% 0.131 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 #D8A2F8 2.01:1 Fails Lc -43.4 Non-text elements, placeholder text
Black text on #D8A2F8 10.44:1 AAA Lc 65.0 Content text, not long reading
#D8A2F8 text on white 2.01:1 Fails Lc 38.9 Non-text elements, placeholder text
#D8A2F8 text on black 10.44:1 AAA Lc -63.5 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

    #F3E3FD

    oklch(93.6% 0.039 312.7)

  3. Step 200

    200

    #EACCFC

    oklch(88.5% 0.072 312.8)

  4. Step 300

    300 (this color)

    #D8A2F8

    oklch(79.3% 0.131 312.3)

  5. Step 400

    400

    #CC71FD

    oklch(70.7% 0.211 312.2)

  6. Step 500

    500

    #BE3DFA

    oklch(63.1% 0.268 312.2)

  7. Step 600

    600

    #A800E3

    oklch(55.6% 0.277 312.4)

  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

    #600F82

    oklch(37.7% 0.175 312.4)

  11. Step 950

    950

    #380E4C

    oklch(27% 0.11 312.2)

Export this scale for Tailwind in the Tailwind colors tool

#D8A2F8 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)#93B4FB0.101
Deuteranopia (no green cones)#A0B8F50.092
Tritanopia (no blue cones)#D5AEC20.092
Achromatopsia (no color)#B7B7B70.132

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8A2F8

    #D8A2F8

    oklch(79.3% 0.131 312.3)

  • #9BCD72

    #9BCD72

    oklch(79.2% 0.131 132.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8A2F8

    #D8A2F8

    oklch(79.3% 0.131 312.3)

  • #B1B3FF

    #B1B3FF

    oklch(79.3% 0.107 282.5)

  • #F598D3

    #F598D3

    oklch(79.2% 0.132 342)

Open the analogous palette in the generator

Split complementary

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

  • #D8A2F8

    #D8A2F8

    oklch(79.3% 0.131 312.3)

  • #CCBE50

    #CCBE50

    oklch(79.2% 0.131 102.1)

  • #5FD5A2

    #5FD5A2

    oklch(79.1% 0.131 162.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8A2F8

    #D8A2F8

    oklch(79.3% 0.131 312.3)

  • #EFAD53

    #EFAD53

    oklch(79.3% 0.131 72.3)

  • #23D5D1

    #23D5D1

    oklch(79.1% 0.131 192.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8A2F8

    #D8A2F8

    oklch(79.3% 0.131 312.3)

  • #FF9F79

    #FF9F79

    oklch(79.2% 0.126 42.2)

  • #9BCD72

    #9BCD72

    oklch(79.2% 0.131 132.3)

  • #3ECDF8

    #3ECDF8

    oklch(79.2% 0.132 222.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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