#D4AFEC

Closest named color: Pale Violet (#CEAEFA). oklch(80.7% 0.093 311.8), rgb(212, 175, 236).

Aa

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

About this color

#D4AFEC is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.093 and its hue 312°. 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.14:1.

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.093)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text11.14:1
White text1.88:1

Values

HEX#D4AFEC
RGBrgb(212, 175, 236)
HSLhsl(276, 62%, 81%)
OKLCHoklch(80.7% 0.093 311.8)

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 #D4AFEC 1.88:1 Fails Lc -40.0 Non-text elements, placeholder text
Black text on #D4AFEC 11.14:1 AAA Lc 68.2 Content text, not long reading
#D4AFEC text on white 1.88:1 Fails Lc 35.7 Non-text elements, placeholder text
#D4AFEC text on black 11.14:1 AAA Lc -66.8 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

    #F0E5F7

    oklch(93.6% 0.027 312.6)

  3. Step 200

    200

    #E5D0F3

    oklch(88.6% 0.052 311.9)

  4. Step 300

    300 (this color)

    #D4AFEC

    oklch(80.7% 0.093 311.8)

  5. Step 400

    400

    #BF83E3

    oklch(70.6% 0.149 311.8)

  6. Step 500

    500

    #AF60DB

    oklch(63.1% 0.19 311.8)

  7. Step 600

    600

    #9A41C9

    oklch(55.5% 0.207 311.5)

  8. Step 700

    700

    #8432AD

    oklch(49.1% 0.191 311.9)

  9. Step 800

    800

    #6B2B8C

    oklch(42.7% 0.159 311.8)

  10. Step 900

    900

    #572970

    oklch(37.8% 0.123 311.8)

  11. Step 950

    950

    #331942

    oklch(27.1% 0.078 311.5)

Export this scale for Tailwind in the Tailwind colors tool

#D4AFEC 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)#A6BBEF0.067
Deuteranopia (no green cones)#ADBEEA0.064
Tritanopia (no blue cones)#D2B7C40.067
Achromatopsia (no color)#BDBDBD0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4AFEC

    #D4AFEC

    oklch(80.7% 0.093 311.8)

  • #AACD8E

    #AACD8E

    oklch(80.7% 0.093 131.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4AFEC

    #D4AFEC

    oklch(80.7% 0.093 311.8)

  • #B6B9FB

    #B6B9FB

    oklch(80.7% 0.093 282.1)

  • #EAA8D1

    #EAA8D1

    oklch(80.6% 0.093 341.6)

Open the analogous palette in the generator

Split complementary

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

  • #D4AFEC

    #D4AFEC

    oklch(80.7% 0.093 311.8)

  • #CCC27B

    #CCC27B

    oklch(80.6% 0.092 101.3)

  • #87D3AD

    #87D3AD

    oklch(80.7% 0.093 161.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4AFEC

    #D4AFEC

    oklch(80.7% 0.093 311.8)

  • #E6B67C

    #E6B67C

    oklch(80.7% 0.093 71.2)

  • #71D3CF

    #71D3CF

    oklch(80.6% 0.093 192)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4AFEC

    #D4AFEC

    oklch(80.7% 0.093 311.8)

  • #F4AC91

    #F4AC91

    oklch(80.7% 0.093 41.4)

  • #AACD8E

    #AACD8E

    oklch(80.7% 0.093 131.8)

  • #77CEEB

    #77CEEB

    oklch(80.7% 0.093 221.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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