#D1AFFB

Closest named color: Pale Violet (#CEAEFA). oklch(81% 0.111 304.5), rgb(209, 175, 251).

Aa

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

About this color

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

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

Values

HEX#D1AFFB
RGBrgb(209, 175, 251)
HSLhsl(267, 90%, 84%)
OKLCHoklch(81% 0.111 304.5)

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 #D1AFFB 1.86:1 Fails Lc -39.5 Non-text elements, placeholder text
Black text on #D1AFFB 11.23:1 AAA Lc 68.6 Content text, not long reading
#D1AFFB text on white 1.86:1 Fails Lc 35.3 Non-text elements, placeholder text
#D1AFFB text on black 11.23:1 AAA Lc -67.2 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

    #E2D0FB

    oklch(88.6% 0.061 304.2)

  4. Step 300

    300 (this color)

    #D1AFFB

    oklch(81% 0.111 304.5)

  5. Step 400

    400

    #BA80F8

    oklch(70.7% 0.177 304.6)

  6. Step 500

    500

    #A958F5

    oklch(63% 0.227 304.3)

  7. Step 600

    600

    #9534E3

    oklch(55.5% 0.245 304.4)

  8. Step 700

    700

    #8023C5

    oklch(49.1% 0.228 304.8)

  9. Step 800

    800

    #6821A0

    oklch(42.8% 0.19 304.7)

  10. Step 900

    900

    #54237F

    oklch(37.7% 0.148 304.5)

  11. Step 950

    950

    #31164A

    oklch(26.9% 0.094 304.8)

Export this scale for Tailwind in the Tailwind colors tool

#D1AFFB 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)#A0BCFE0.070
Deuteranopia (no green cones)#A6BEF90.067
Tritanopia (no blue cones)#CBBACA0.085
Achromatopsia (no color)#BDBDBD0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1AFFB

    #D1AFFB

    oklch(81% 0.111 304.5)

  • #B1CE7D

    #B1CE7D

    oklch(81.1% 0.111 124.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1AFFB

    #D1AFFB

    oklch(81% 0.111 304.5)

  • #AEBDFF

    #AEBDFF

    oklch(81.1% 0.095 274.2)

  • #EDA6DE

    #EDA6DE

    oklch(81% 0.11 334.4)

Open the analogous palette in the generator

Split complementary

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

  • #D1AFFB

    #D1AFFB

    oklch(81% 0.111 304.5)

  • #D8C069

    #D8C069

    oklch(81% 0.111 94.3)

  • #85D6A1

    #85D6A1

    oklch(81% 0.11 154.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1AFFB

    #D1AFFB

    oklch(81% 0.111 304.5)

  • #F3B272

    #F3B272

    oklch(81.1% 0.111 64.7)

  • #5FD8CA

    #5FD8CA

    oklch(81% 0.11 185)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1AFFB

    #D1AFFB

    oklch(81% 0.111 304.5)

  • #FFA791

    #FFA791

    oklch(81% 0.109 34.7)

  • #B1CE7D

    #B1CE7D

    oklch(81.1% 0.111 124.9)

  • #5ED3ED

    #5ED3ED

    oklch(81% 0.111 214.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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