#D8A2FA

Closest named color: Lilac (#CEA2FD). oklch(79.4% 0.134 311.7), rgb(216, 162, 250).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.134)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.46:1
White text2.00:1

Values

HEX#D8A2FA
RGBrgb(216, 162, 250)
HSLhsl(277, 90%, 81%)
OKLCHoklch(79.4% 0.134 311.7)

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 #D8A2FA 2.00:1 Fails Lc -43.2 Non-text elements, placeholder text
Black text on #D8A2FA 10.46:1 AAA Lc 65.1 Content text, not long reading
#D8A2FA text on white 2.00:1 Fails Lc 38.8 Non-text elements, placeholder text
#D8A2FA text on black 10.46:1 AAA Lc -63.6 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

    #F2E3FD

    oklch(93.5% 0.038 311.1)

  3. Step 200

    200

    #E9CCFD

    oklch(88.5% 0.073 311.4)

  4. Step 300

    300 (this color)

    #D8A2FA

    oklch(79.4% 0.134 311.7)

  5. Step 400

    400

    #CC71FF

    oklch(70.8% 0.213 311.8)

  6. Step 500

    500

    #BE3AFD

    oklch(63.1% 0.273 311.7)

  7. Step 600

    600

    #A700E5

    oklch(55.6% 0.279 311.7)

  8. Step 700

    700

    #8D00C2

    oklch(49.1% 0.246 311.7)

  9. Step 800

    800

    #7400A1

    oklch(42.7% 0.214 311.5)

  10. Step 900

    900

    #600D84

    oklch(37.8% 0.178 311.7)

  11. Step 950

    950

    #380D4D

    oklch(27% 0.113 311.7)

Export this scale for Tailwind in the Tailwind colors tool

#D8A2FA 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)#92B4FD0.102
Deuteranopia (no green cones)#9FB8F70.093
Tritanopia (no blue cones)#D5AEC30.094
Achromatopsia (no color)#B7B7B70.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8A2FA

    #D8A2FA

    oklch(79.4% 0.134 311.7)

  • #9CCD70

    #9CCD70

    oklch(79.3% 0.133 131.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8A2FA

    #D8A2FA

    oklch(79.4% 0.134 311.7)

  • #B0B3FF

    #B0B3FF

    oklch(79.3% 0.108 281.9)

  • #F698D4

    #F698D4

    oklch(79.4% 0.134 341.8)

Open the analogous palette in the generator

Split complementary

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

  • #D8A2FA

    #D8A2FA

    oklch(79.4% 0.134 311.7)

  • #CDBE4D

    #CDBE4D

    oklch(79.3% 0.133 101.8)

  • #5FD6A1

    #5FD6A1

    oklch(79.4% 0.133 161.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8A2FA

    #D8A2FA

    oklch(79.4% 0.134 311.7)

  • #F1AC51

    #F1AC51

    oklch(79.3% 0.134 71.2)

  • #19D6D1

    #19D6D1

    oklch(79.3% 0.133 191.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8A2FA

    #D8A2FA

    oklch(79.4% 0.134 311.7)

  • #FFA07B

    #FFA07B

    oklch(79.4% 0.124 41.9)

  • #9CCD70

    #9CCD70

    oklch(79.3% 0.133 131.6)

  • #38CEF8

    #38CEF8

    oklch(79.3% 0.133 221.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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