#D1AFFF

Closest named color: Pale Violet (#CEAEFA). oklch(81.2% 0.116 303.4), rgb(209, 175, 255).

Aa

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

About this color

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

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

Values

HEX#D1AFFF
RGBrgb(209, 175, 255)
HSLhsl(266, 100%, 84%)
OKLCHoklch(81.2% 0.116 303.4)

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 #D1AFFF 1.86:1 Fails Lc -39.2 Non-text elements, placeholder text
Black text on #D1AFFF 11.28:1 AAA Lc 68.8 Content text, not long reading
#D1AFFF text on white 1.86:1 Fails Lc 35.0 Non-text elements, placeholder text
#D1AFFF text on black 11.28:1 AAA Lc -67.5 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

    #E2CFFD

    oklch(88.5% 0.066 303.9)

  4. Step 300

    300 (this color)

    #D1AFFF

    oklch(81.2% 0.116 303.4)

  5. Step 400

    400

    #B97EFD

    oklch(70.6% 0.185 303.4)

  6. Step 500

    500

    #A955FB

    oklch(63.1% 0.237 303.4)

  7. Step 600

    600

    #952EEA

    oklch(55.6% 0.257 303.3)

  8. Step 700

    700

    #7F1CCB

    oklch(49% 0.238 303.4)

  9. Step 800

    800

    #671DA4

    oklch(42.6% 0.197 303.4)

  10. Step 900

    900

    #542182

    oklch(37.7% 0.154 303.7)

  11. Step 950

    950

    #31154C

    oklch(26.9% 0.098 303.9)

Export this scale for Tailwind in the Tailwind colors tool

#D1AFFF 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)#9EBDFF0.074
Deuteranopia (no green cones)#A5BEFD0.068
Tritanopia (no blue cones)#CABBCC0.089
Achromatopsia (no color)#BEBEBE0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1AFFF

    #D1AFFF

    oklch(81.2% 0.116 303.4)

  • #B3CE78

    #B3CE78

    oklch(81.2% 0.116 123.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1AFFF

    #D1AFFF

    oklch(81.2% 0.116 303.4)

  • #AEBEFF

    #AEBEFF

    oklch(81.3% 0.094 273.5)

  • #EFA5E1

    #EFA5E1

    oklch(81.2% 0.116 333.5)

Open the analogous palette in the generator

Split complementary

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

  • #D1AFFF

    #D1AFFF

    oklch(81.2% 0.116 303.4)

  • #DBC065

    #DBC065

    oklch(81.2% 0.115 93.2)

  • #83D89E

    #83D89E

    oklch(81.3% 0.117 153.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1AFFF

    #D1AFFF

    oklch(81.2% 0.116 303.4)

  • #F6B16F

    #F6B16F

    oklch(81.2% 0.116 63.7)

  • #5ADAC9

    #5ADAC9

    oklch(81.2% 0.116 183.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1AFFF

    #D1AFFF

    oklch(81.2% 0.116 303.4)

  • #FFA894

    #FFA894

    oklch(81.2% 0.107 33.6)

  • #B3CE78

    #B3CE78

    oklch(81.2% 0.116 123.2)

  • #56D5EE

    #56D5EE

    oklch(81.2% 0.116 213)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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