#D1A2EE

Closest named color: Lilac (#CEA2FD). oklch(78.2% 0.116 312), rgb(209, 162, 238).

Aa

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

About this color

#D1A2EE is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.116 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.022 away. Black text reads best on it, at 10.11:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.116)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.11:1
White text2.07:1

Values

HEX#D1A2EE
RGBrgb(209, 162, 238)
HSLhsl(277, 69%, 78%)
OKLCHoklch(78.2% 0.116 312)

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 #D1A2EE 2.07:1 Fails Lc -45.1 Large or bold text, headings
Black text on #D1A2EE 10.11:1 AAA Lc 63.5 Content text, not long reading
#D1A2EE text on white 2.07:1 Fails Lc 40.5 Non-text elements, placeholder text
#D1A2EE text on black 10.11:1 AAA Lc -61.8 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

    #F2E4FB

    oklch(93.7% 0.034 312.4)

  3. Step 200

    200

    #E8CDF9

    oklch(88.5% 0.066 312.4)

  4. Step 300

    300 (this color)

    #D1A2EE

    oklch(78.2% 0.116 312)

  5. Step 400

    400

    #C779F3

    oklch(70.7% 0.186 312.1)

  6. Step 500

    500

    #B84DEE

    oklch(63% 0.238 312)

  7. Step 600

    600

    #A421DD

    oklch(55.6% 0.259 311.9)

  8. Step 700

    700

    #8D0ABF

    oklch(49.1% 0.24 312.3)

  9. Step 800

    800

    #72139B

    oklch(42.7% 0.199 311.9)

  10. Step 900

    900

    #5C1C7B

    oklch(37.6% 0.155 311.9)

  11. Step 950

    950

    #361348

    oklch(27% 0.098 312)

Export this scale for Tailwind in the Tailwind colors tool

#D1A2EE 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)#95B1F10.087
Deuteranopia (no green cones)#A0B5EC0.081
Tritanopia (no blue cones)#CEACBE0.082
Achromatopsia (no color)#B4B4B40.117

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1A2EE

    #D1A2EE

    oklch(78.2% 0.116 312)

  • #9CC878

    #9CC878

    oklch(78.2% 0.117 132.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1A2EE

    #D1A2EE

    oklch(78.2% 0.116 312)

  • #ACAFFF

    #ACAFFF

    oklch(78.2% 0.113 281.8)

  • #EB9ACD

    #EB9ACD

    oklch(78.2% 0.116 341.9)

Open the analogous palette in the generator

Split complementary

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

  • #D1A2EE

    #D1A2EE

    oklch(78.2% 0.116 312)

  • #C7BB5D

    #C7BB5D

    oklch(78.3% 0.117 102.1)

  • #6BCFA1

    #6BCFA1

    oklch(78.1% 0.116 162.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1A2EE

    #D1A2EE

    oklch(78.2% 0.116 312)

  • #E6AB5F

    #E6AB5F

    oklch(78.1% 0.116 71.7)

  • #45CFCB

    #45CFCB

    oklch(78.1% 0.116 192.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1A2EE

    #D1A2EE

    oklch(78.2% 0.116 312)

  • #F79E7C

    #F79E7C

    oklch(78.1% 0.117 41.6)

  • #9CC878

    #9CC878

    oklch(78.2% 0.117 132.1)

  • #53C8ED

    #53C8ED

    oklch(78.1% 0.116 222.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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