#D4AFED

Closest named color: Pale Violet (#CEAEFA). oklch(80.7% 0.094 311.3), rgb(212, 175, 237).

Aa

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

About this color

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

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

Values

HEX#D4AFED
RGBrgb(212, 175, 237)
HSLhsl(276, 63%, 81%)
OKLCHoklch(80.7% 0.094 311.3)

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

    #F0E5F8

    oklch(93.6% 0.028 311.3)

  3. Step 200

    200

    #E4D0F3

    oklch(88.5% 0.052 310.8)

  4. Step 300

    300 (this color)

    #D4AFED

    oklch(80.7% 0.094 311.3)

  5. Step 400

    400

    #BF83E5

    oklch(70.7% 0.151 311.2)

  6. Step 500

    500

    #AF5FDD

    oklch(63.1% 0.193 311.4)

  7. Step 600

    600

    #9A40CA

    oklch(55.5% 0.21 311.4)

  8. Step 700

    700

    #8431AF

    oklch(49.2% 0.195 311.4)

  9. Step 800

    800

    #6B2A8E

    oklch(42.7% 0.162 311.2)

  10. Step 900

    900

    #572871

    oklch(37.7% 0.126 311.5)

  11. Step 950

    950

    #331942

    oklch(27.1% 0.078 311.5)

Export this scale for Tailwind in the Tailwind colors tool

#D4AFED 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)#A5BBF00.068
Deuteranopia (no green cones)#ADBEEB0.064
Tritanopia (no blue cones)#D2B7C50.067
Achromatopsia (no color)#BDBDBD0.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4AFED

    #D4AFED

    oklch(80.7% 0.094 311.3)

  • #AACD8D

    #AACD8D

    oklch(80.7% 0.094 131.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4AFED

    #D4AFED

    oklch(80.7% 0.094 311.3)

  • #B5B9FC

    #B5B9FC

    oklch(80.7% 0.095 281.4)

  • #EBA8D2

    #EBA8D2

    oklch(80.7% 0.095 341.4)

Open the analogous palette in the generator

Split complementary

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

  • #D4AFED

    #D4AFED

    oklch(80.7% 0.094 311.3)

  • #CDC27A

    #CDC27A

    oklch(80.7% 0.093 100.7)

  • #87D3AD

    #87D3AD

    oklch(80.7% 0.093 161.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4AFED

    #D4AFED

    oklch(80.7% 0.094 311.3)

  • #E7B67B

    #E7B67B

    oklch(80.7% 0.095 71)

  • #70D4CF

    #70D4CF

    oklch(80.8% 0.094 191.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4AFED

    #D4AFED

    oklch(80.7% 0.094 311.3)

  • #F5AC91

    #F5AC91

    oklch(80.8% 0.094 41.1)

  • #AACD8D

    #AACD8D

    oklch(80.7% 0.094 131.5)

  • #76CEEB

    #76CEEB

    oklch(80.7% 0.094 221.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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