#D1AFEF

Closest named color: Pale Violet (#CEAEFA). oklch(80.5% 0.095 308.5), rgb(209, 175, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.095)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text11.08:1
White text1.89:1

Values

HEX#D1AFEF
RGBrgb(209, 175, 239)
HSLhsl(272, 67%, 81%)
OKLCHoklch(80.5% 0.095 308.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 #D1AFEF 1.89:1 Fails Lc -40.2 Non-text elements, placeholder text
Black text on #D1AFEF 11.08:1 AAA Lc 67.9 Content text, not long reading
#D1AFEF text on white 1.89:1 Fails Lc 36.0 Non-text elements, placeholder text
#D1AFEF text on black 11.08:1 AAA Lc -66.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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE5F8

    oklch(93.5% 0.027 309.2)

  3. Step 200

    200

    #E3D0F5

    oklch(88.5% 0.054 308.4)

  4. Step 300

    300 (this color)

    #D1AFEF

    oklch(80.5% 0.095 308.5)

  5. Step 400

    400

    #BC84E9

    oklch(70.8% 0.153 308.5)

  6. Step 500

    500

    #AB60E2

    oklch(63.1% 0.196 308.4)

  7. Step 600

    600

    #9741CF

    oklch(55.6% 0.212 308.8)

  8. Step 700

    700

    #8032B3

    oklch(49.1% 0.196 308.4)

  9. Step 800

    800

    #682B91

    oklch(42.6% 0.163 308.4)

  10. Step 900

    900

    #552974

    oklch(37.8% 0.127 308.5)

  11. Step 950

    950

    #321944

    oklch(27.1% 0.081 308.8)

Export this scale for Tailwind in the Tailwind colors tool

#D1AFEF 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)#A4BBF20.065
Deuteranopia (no green cones)#ABBDED0.061
Tritanopia (no blue cones)#CDB8C60.071
Achromatopsia (no color)#BCBCBC0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1AFEF

    #D1AFEF

    oklch(80.5% 0.095 308.5)

  • #ADCC89

    #ADCC89

    oklch(80.6% 0.096 128.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1AFEF

    #D1AFEF

    oklch(80.5% 0.095 308.5)

  • #B1BAFD

    #B1BAFD

    oklch(80.6% 0.095 278.1)

  • #E9A8D4

    #E9A8D4

    oklch(80.6% 0.095 339)

Open the analogous palette in the generator

Split complementary

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

  • #D1AFEF

    #D1AFEF

    oklch(80.5% 0.095 308.5)

  • #CFC177

    #CFC177

    oklch(80.6% 0.096 98.8)

  • #88D3A9

    #88D3A9

    oklch(80.6% 0.096 158.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1AFEF

    #D1AFEF

    oklch(80.5% 0.095 308.5)

  • #E8B47B

    #E8B47B

    oklch(80.5% 0.095 68.4)

  • #6FD4CB

    #6FD4CB

    oklch(80.6% 0.096 187.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1AFEF

    #D1AFEF

    oklch(80.5% 0.095 308.5)

  • #F6AA92

    #F6AA92

    oklch(80.5% 0.096 38.3)

  • #ADCC89

    #ADCC89

    oklch(80.6% 0.096 128.6)

  • #72CFE9

    #72CFE9

    oklch(80.7% 0.096 218.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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