#D1AFFE

Closest named color: Pale Violet (#CEAEFA). oklch(81.2% 0.114 303.7), rgb(209, 175, 254).

Aa

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

About this color

#D1AFFE is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.114 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.008 away. Black text reads best on it, at 11.27:1.

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.114)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text11.27:1
White text1.86:1

Values

HEX#D1AFFE
RGBrgb(209, 175, 254)
HSLhsl(266, 98%, 84%)
OKLCHoklch(81.2% 0.114 303.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 #D1AFFE 1.86:1 Fails Lc -39.3 Non-text elements, placeholder text
Black text on #D1AFFE 11.27:1 AAA Lc 68.8 Content text, not long reading
#D1AFFE text on white 1.86:1 Fails Lc 35.1 Non-text elements, placeholder text
#D1AFFE text on black 11.27:1 AAA Lc -67.4 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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FD

    oklch(93.6% 0.033 302.7)

  3. Step 200

    200

    #E2CFFC

    oklch(88.4% 0.064 304.3)

  4. Step 300

    300 (this color)

    #D1AFFE

    oklch(81.2% 0.114 303.7)

  5. Step 400

    400

    #B97FFC

    oklch(70.7% 0.183 303.5)

  6. Step 500

    500

    #A956F9

    oklch(63.1% 0.234 303.7)

  7. Step 600

    600

    #9530E8

    oklch(55.6% 0.254 303.6)

  8. Step 700

    700

    #7F1ECA

    oklch(49.1% 0.236 303.5)

  9. Step 800

    800

    #671EA3

    oklch(42.6% 0.195 303.6)

  10. Step 900

    900

    #542282

    oklch(37.8% 0.153 303.6)

  11. Step 950

    950

    #31164C

    oklch(27.1% 0.096 303.6)

Export this scale for Tailwind in the Tailwind colors tool

#D1AFFE 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)#9FBDFF0.072
Deuteranopia (no green cones)#A5BEFC0.068
Tritanopia (no blue cones)#CABBCC0.088
Achromatopsia (no color)#BEBEBE0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1AFFE

    #D1AFFE

    oklch(81.2% 0.114 303.7)

  • #B2CE79

    #B2CE79

    oklch(81.1% 0.115 123.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1AFFE

    #D1AFFE

    oklch(81.2% 0.114 303.7)

  • #AEBEFF

    #AEBEFF

    oklch(81.3% 0.094 273.5)

  • #EFA5E0

    #EFA5E0

    oklch(81.1% 0.115 334.1)

Open the analogous palette in the generator

Split complementary

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

  • #D1AFFE

    #D1AFFE

    oklch(81.2% 0.114 303.7)

  • #DAC066

    #DAC066

    oklch(81.2% 0.114 93.6)

  • #84D79F

    #84D79F

    oklch(81.1% 0.114 153.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1AFFE

    #D1AFFE

    oklch(81.2% 0.114 303.7)

  • #F5B170

    #F5B170

    oklch(81.1% 0.114 63.8)

  • #5BD9C9

    #5BD9C9

    oklch(81% 0.114 183.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1AFFE

    #D1AFFE

    oklch(81.2% 0.114 303.7)

  • #FFA893

    #FFA893

    oklch(81.2% 0.108 34.2)

  • #B2CE79

    #B2CE79

    oklch(81.1% 0.115 123.8)

  • #58D4EE

    #58D4EE

    oklch(81% 0.114 213.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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