#D1A2EC

Closest named color: Lilac (#CEA2FD). oklch(78.1% 0.114 312.8), rgb(209, 162, 236).

Aa

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

About this color

#D1A2EC is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.114 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.025 away. Black text reads best on it, at 10.09:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.09:1
White text2.08:1

Values

HEX#D1A2EC
RGBrgb(209, 162, 236)
HSLhsl(278, 66%, 78%)
OKLCHoklch(78.1% 0.114 312.8)

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 #D1A2EC 2.08:1 Fails Lc -45.2 Large or bold text, headings
Black text on #D1A2EC 10.09:1 AAA Lc 63.3 Content text, not long reading
#D1A2EC text on white 2.08:1 Fails Lc 40.6 Non-text elements, placeholder text
#D1A2EC text on black 10.09:1 AAA Lc -61.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

    #F9F3FD

    oklch(97.2% 0.015 312.2)

  2. Step 100

    100

    #F2E4FA

    oklch(93.6% 0.033 313.5)

  3. Step 200

    200

    #E8CEF8

    oklch(88.6% 0.063 312.6)

  4. Step 300

    300 (this color)

    #D1A2EC

    oklch(78.1% 0.114 312.8)

  5. Step 400

    400

    #C77AF0

    oklch(70.7% 0.181 312.7)

  6. Step 500

    500

    #B94FEB

    oklch(63.2% 0.233 312.9)

  7. Step 600

    600

    #A425D9

    oklch(55.6% 0.253 312.7)

  8. Step 700

    700

    #8D11BC

    oklch(49.1% 0.235 313)

  9. Step 800

    800

    #721698

    oklch(42.6% 0.195 312.8)

  10. Step 900

    900

    #5C1D79

    oklch(37.6% 0.152 312.7)

  11. Step 950

    950

    #361347

    oklch(26.9% 0.097 312.7)

Export this scale for Tailwind in the Tailwind colors tool

#D1A2EC 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)#96B1EF0.086
Deuteranopia (no green cones)#A0B5EA0.081
Tritanopia (no blue cones)#CFACBD0.080
Achromatopsia (no color)#B4B4B40.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1A2EC

    #D1A2EC

    oklch(78.1% 0.114 312.8)

  • #9BC77A

    #9BC77A

    oklch(78% 0.114 132.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1A2EC

    #D1A2EC

    oklch(78.1% 0.114 312.8)

  • #ADAEFF

    #ADAEFF

    oklch(78.1% 0.115 282.9)

  • #EB9ACB

    #EB9ACB

    oklch(78.1% 0.114 343.1)

Open the analogous palette in the generator

Split complementary

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

  • #D1A2EC

    #D1A2EC

    oklch(78.1% 0.114 312.8)

  • #C5BB5F

    #C5BB5F

    oklch(78.1% 0.115 103.1)

  • #6CCFA2

    #6CCFA2

    oklch(78.2% 0.115 162.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1A2EC

    #D1A2EC

    oklch(78.1% 0.114 312.8)

  • #E4AC60

    #E4AC60

    oklch(78.1% 0.114 73.2)

  • #49CFCB

    #49CFCB

    oklch(78.2% 0.114 192.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1A2EC

    #D1A2EC

    oklch(78.1% 0.114 312.8)

  • #F59F7C

    #F59F7C

    oklch(78.1% 0.114 42.8)

  • #9BC77A

    #9BC77A

    oklch(78% 0.114 132.7)

  • #57C8ED

    #57C8ED

    oklch(78.2% 0.114 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 #D1A2EC, closest first.

Similar named colors

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

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