#D1A2FD

Closest named color: Lilac (#CEA2FD). oklch(78.8% 0.135 307.3), rgb(209, 162, 253).

Aa

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

About this color

#D1A2FD is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.135 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.005 away. Black text reads best on it, at 10.29:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.135)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.29:1
White text2.03:1

Values

HEX#D1A2FD
RGBrgb(209, 162, 253)
HSLhsl(271, 96%, 81%)
OKLCHoklch(78.8% 0.135 307.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 #D1A2FD 2.03:1 Fails Lc -44.1 Non-text elements, placeholder text
Black text on #D1A2FD 10.29:1 AAA Lc 64.3 Content text, not long reading
#D1A2FD text on white 2.03:1 Fails Lc 39.6 Non-text elements, placeholder text
#D1A2FD text on black 10.29:1 AAA Lc -62.7 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

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #F1E4FF

    oklch(93.7% 0.039 307.2)

  3. Step 200

    200

    #E6CDFF

    oklch(88.5% 0.073 307.6)

  4. Step 300

    300 (this color)

    #D1A2FD

    oklch(78.8% 0.135 307.3)

  5. Step 400

    400

    #C278FF

    oklch(70.7% 0.199 307.4)

  6. Step 500

    500

    #B448FF

    oklch(63.2% 0.258 307.4)

  7. Step 600

    600

    #A000F0

    oklch(55.6% 0.285 307.1)

  8. Step 700

    700

    #8700CB

    oklch(49% 0.252 307.2)

  9. Step 800

    800

    #6F00A9

    oklch(42.7% 0.219 307)

  10. Step 900

    900

    #5B1089

    oklch(37.7% 0.179 307.1)

  11. Step 950

    950

    #350E50

    oklch(26.9% 0.114 307.1)

Export this scale for Tailwind in the Tailwind colors tool

#D1A2FD 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)#8FB4FF0.096
Deuteranopia (no green cones)#9AB6FA0.088
Tritanopia (no blue cones)#CBAFC40.099
Achromatopsia (no color)#B5B5B50.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1A2FD

    #D1A2FD

    oklch(78.8% 0.135 307.3)

  • #A2CA67

    #A2CA67

    oklch(78.8% 0.135 127.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1A2FD

    #D1A2FD

    oklch(78.8% 0.135 307.3)

  • #A9B4FF

    #A9B4FF

    oklch(78.9% 0.107 277.2)

  • #F197D9

    #F197D9

    oklch(78.8% 0.135 337.3)

Open the analogous palette in the generator

Split complementary

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

  • #D1A2FD

    #D1A2FD

    oklch(78.8% 0.135 307.3)

  • #D2BA47

    #D2BA47

    oklch(78.8% 0.135 97.4)

  • #65D497

    #65D497

    oklch(78.9% 0.135 157.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1A2FD

    #D1A2FD

    oklch(78.8% 0.135 307.3)

  • #F3A852

    #F3A852

    oklch(78.8% 0.134 67.2)

  • #19D5C9

    #19D5C9

    oklch(78.8% 0.134 187.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1A2FD

    #D1A2FD

    oklch(78.8% 0.135 307.3)

  • #FF9C7F

    #FF9C7F

    oklch(78.8% 0.126 37.1)

  • #A2CA67

    #A2CA67

    oklch(78.8% 0.135 127.4)

  • #27CEF2

    #27CEF2

    oklch(78.8% 0.135 217.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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