#D1AFEB

Closest named color: Pale Violet (#CEAEFA). oklch(80.4% 0.091 310.1), rgb(209, 175, 235).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.091)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text11.04:1
White text1.90:1

Values

HEX#D1AFEB
RGBrgb(209, 175, 235)
HSLhsl(274, 60%, 80%)
OKLCHoklch(80.4% 0.091 310.1)

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 #D1AFEB 1.90:1 Fails Lc -40.5 Non-text elements, placeholder text
Black text on #D1AFEB 11.04:1 AAA Lc 67.7 Content text, not long reading
#D1AFEB text on white 1.90:1 Fails Lc 36.2 Non-text elements, placeholder text
#D1AFEB text on black 11.04:1 AAA Lc -66.3 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F7

    oklch(93.5% 0.026 310.4)

  3. Step 200

    200

    #E3D0F3

    oklch(88.4% 0.052 309.6)

  4. Step 300

    300 (this color)

    #D1AFEB

    oklch(80.4% 0.091 310.1)

  5. Step 400

    400

    #BC85E3

    oklch(70.7% 0.144 310.1)

  6. Step 500

    500

    #AC62DB

    oklch(63.1% 0.186 310.4)

  7. Step 600

    600

    #9745C9

    oklch(55.6% 0.201 310)

  8. Step 700

    700

    #8135AD

    oklch(49.1% 0.187 310.3)

  9. Step 800

    800

    #692D8C

    oklch(42.7% 0.155 310.5)

  10. Step 900

    900

    #552A70

    oklch(37.7% 0.121 310.2)

  11. Step 950

    950

    #321A42

    oklch(27.1% 0.076 310)

Export this scale for Tailwind in the Tailwind colors tool

#D1AFEB 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)#A5BAED0.064
Deuteranopia (no green cones)#ACBDE90.060
Tritanopia (no blue cones)#CEB7C40.066
Achromatopsia (no color)#BCBCBC0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1AFEB

    #D1AFEB

    oklch(80.4% 0.091 310.1)

  • #ACCB8D

    #ACCB8D

    oklch(80.4% 0.09 129.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1AFEB

    #D1AFEB

    oklch(80.4% 0.091 310.1)

  • #B3B9F9

    #B3B9F9

    oklch(80.4% 0.091 280)

  • #E7A8D1

    #E7A8D1

    oklch(80.3% 0.091 340.2)

Open the analogous palette in the generator

Split complementary

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

  • #D1AFEB

    #D1AFEB

    oklch(80.4% 0.091 310.1)

  • #CCC17B

    #CCC17B

    oklch(80.4% 0.091 100.4)

  • #8AD1AB

    #8AD1AB

    oklch(80.3% 0.09 160.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1AFEB

    #D1AFEB

    oklch(80.4% 0.091 310.1)

  • #E5B57E

    #E5B57E

    oklch(80.4% 0.09 69.8)

  • #74D2CC

    #74D2CC

    oklch(80.4% 0.09 190.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1AFEB

    #D1AFEB

    oklch(80.4% 0.091 310.1)

  • #F2AB93

    #F2AB93

    oklch(80.3% 0.091 39.5)

  • #ACCB8D

    #ACCB8D

    oklch(80.4% 0.09 129.8)

  • #78CDE7

    #78CDE7

    oklch(80.4% 0.09 219.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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