#D2A2F8

Closest named color: Lilac (#CEA2FD). oklch(78.7% 0.129 309.2), rgb(210, 162, 248).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.26:1
White text2.04:1

Values

HEX#D2A2F8
RGBrgb(210, 162, 248)
HSLhsl(273, 86%, 80%)
OKLCHoklch(78.7% 0.129 309.2)

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 #D2A2F8 2.04:1 Fails Lc -44.3 Non-text elements, placeholder text
Black text on #D2A2F8 10.26:1 AAA Lc 64.2 Content text, not long reading
#D2A2F8 text on white 2.04:1 Fails Lc 39.7 Non-text elements, placeholder text
#D2A2F8 text on black 10.26:1 AAA Lc -62.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

    #F9F3FF

    oklch(97.2% 0.017 308.3)

  2. Step 100

    100

    #F1E4FD

    oklch(93.7% 0.036 308.9)

  3. Step 200

    200

    #E7CDFE

    oklch(88.5% 0.072 308.9)

  4. Step 300

    300 (this color)

    #D2A2F8

    oklch(78.7% 0.129 309.2)

  5. Step 400

    400

    #C675FF

    oklch(70.7% 0.205 309.2)

  6. Step 500

    500

    #B843FE

    oklch(63.1% 0.264 309.2)

  7. Step 600

    600

    #A300EB

    oklch(55.5% 0.282 309.1)

  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

    #5C1484

    oklch(37.7% 0.172 309.1)

  11. Step 950

    950

    #36104D

    oklch(27% 0.108 309.4)

Export this scale for Tailwind in the Tailwind colors tool

#D2A2F8 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)#92B3FB0.093
Deuteranopia (no green cones)#9CB6F60.087
Tritanopia (no blue cones)#CDAEC20.093
Achromatopsia (no color)#B5B5B50.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2A2F8

    #D2A2F8

    oklch(78.7% 0.129 309.2)

  • #9FCA6E

    #9FCA6E

    oklch(78.7% 0.129 129.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2A2F8

    #D2A2F8

    oklch(78.7% 0.129 309.2)

  • #ABB2FF

    #ABB2FF

    oklch(78.7% 0.11 279.6)

  • #F098D5

    #F098D5

    oklch(78.7% 0.129 339.1)

Open the analogous palette in the generator

Split complementary

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

  • #D2A2F8

    #D2A2F8

    oklch(78.7% 0.129 309.2)

  • #CEBB4F

    #CEBB4F

    oklch(78.8% 0.129 99.4)

  • #66D39C

    #66D39C

    oklch(78.8% 0.129 159.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2A2F8

    #D2A2F8

    oklch(78.7% 0.129 309.2)

  • #EFAA56

    #EFAA56

    oklch(78.8% 0.129 69.3)

  • #2CD4CB

    #2CD4CB

    oklch(78.8% 0.129 189.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2A2F8

    #D2A2F8

    oklch(78.7% 0.129 309.2)

  • #FF9C7B

    #FF9C7B

    oklch(78.7% 0.127 39.2)

  • #9FCA6E

    #9FCA6E

    oklch(78.7% 0.129 129.5)

  • #3BCCF2

    #3BCCF2

    oklch(78.6% 0.129 219.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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