#D1AFFD

Closest named color: Pale Violet (#CEAEFA). oklch(81.1% 0.113 304), rgb(209, 175, 253).

Aa

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

About this color

#D1AFFD is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.113 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.007 away. Black text reads best on it, at 11.26:1.

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

Values

HEX#D1AFFD
RGBrgb(209, 175, 253)
HSLhsl(266, 95%, 84%)
OKLCHoklch(81.1% 0.113 304)

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 #D1AFFD 1.86:1 Fails Lc -39.4 Non-text elements, placeholder text
Black text on #D1AFFD 11.26:1 AAA Lc 68.7 Content text, not long reading
#D1AFFD text on white 1.86:1 Fails Lc 35.2 Non-text elements, placeholder text
#D1AFFD text on black 11.26: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

    #EEE5FC

    oklch(93.6% 0.032 303.5)

  3. Step 200

    200

    #E2D0FC

    oklch(88.6% 0.063 303.7)

  4. Step 300

    300 (this color)

    #D1AFFD

    oklch(81.1% 0.113 304)

  5. Step 400

    400

    #BA7FFB

    oklch(70.7% 0.182 304.1)

  6. Step 500

    500

    #A957F8

    oklch(63.1% 0.231 303.8)

  7. Step 600

    600

    #9531E7

    oklch(55.6% 0.252 303.8)

  8. Step 700

    700

    #7F20C8

    oklch(49% 0.233 303.9)

  9. Step 800

    800

    #671FA2

    oklch(42.6% 0.194 303.8)

  10. Step 900

    900

    #542281

    oklch(37.7% 0.152 303.9)

  11. Step 950

    950

    #31164B

    oklch(27% 0.095 304.1)

Export this scale for Tailwind in the Tailwind colors tool

#D1AFFD 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)#A6BEFB0.067
Tritanopia (no blue cones)#CABBCB0.088
Achromatopsia (no color)#BEBEBE0.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1AFFD

    #D1AFFD

    oklch(81.1% 0.113 304)

  • #B2CE7A

    #B2CE7A

    oklch(81.1% 0.114 124)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1AFFD

    #D1AFFD

    oklch(81.1% 0.113 304)

  • #AEBDFF

    #AEBDFF

    oklch(81.1% 0.095 274.2)

  • #EEA5E0

    #EEA5E0

    oklch(81% 0.114 333.6)

Open the analogous palette in the generator

Split complementary

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

  • #D1AFFD

    #D1AFFD

    oklch(81.1% 0.113 304)

  • #D9C067

    #D9C067

    oklch(81.1% 0.113 94)

  • #84D7A0

    #84D7A0

    oklch(81.1% 0.113 154.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1AFFD

    #D1AFFD

    oklch(81.1% 0.113 304)

  • #F5B171

    #F5B171

    oklch(81.1% 0.113 63.4)

  • #5DD9C9

    #5DD9C9

    oklch(81.1% 0.113 183.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1AFFD

    #D1AFFD

    oklch(81.1% 0.113 304)

  • #FFA793

    #FFA793

    oklch(81% 0.109 33.4)

  • #B2CE7A

    #B2CE7A

    oklch(81.1% 0.114 124)

  • #5AD4EE

    #5AD4EE

    oklch(81.1% 0.113 214.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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