#D4AFF8

Closest named color: Pale Violet (#CEAEFA). oklch(81.2% 0.108 307.3), rgb(212, 175, 248).

Aa

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

About this color

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

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

Values

HEX#D4AFF8
RGBrgb(212, 175, 248)
HSLhsl(270, 84%, 83%)
OKLCHoklch(81.2% 0.108 307.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 #D4AFF8 1.86:1 Fails Lc -39.2 Non-text elements, placeholder text
Black text on #D4AFF8 11.28:1 AAA Lc 68.8 Content text, not long reading
#D4AFF8 text on white 1.86:1 Fails Lc 35.1 Non-text elements, placeholder text
#D4AFF8 text on black 11.28:1 AAA Lc -67.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

    #F8F3FD

    oklch(97.1% 0.014 308.3)

  2. Step 100

    100

    #EFE5FB

    oklch(93.6% 0.031 306.2)

  3. Step 200

    200

    #E4CFF9

    oklch(88.5% 0.061 307.7)

  4. Step 300

    300 (this color)

    #D4AFF8

    oklch(81.2% 0.108 307.3)

  5. Step 400

    400

    #BD7FF3

    oklch(70.6% 0.173 307.2)

  6. Step 500

    500

    #AD58EE

    oklch(63% 0.221 307.3)

  7. Step 600

    600

    #9935DD

    oklch(55.6% 0.24 307.1)

  8. Step 700

    700

    #8324BF

    oklch(49.1% 0.223 307.5)

  9. Step 800

    800

    #6A229B

    oklch(42.7% 0.184 307.1)

  10. Step 900

    900

    #56237B

    oklch(37.6% 0.144 307.3)

  11. Step 950

    950

    #321648

    oklch(26.9% 0.091 307.1)

Export this scale for Tailwind in the Tailwind colors tool

#D4AFF8 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)#A2BCFB0.072
Deuteranopia (no green cones)#A9BEF60.068
Tritanopia (no blue cones)#CFB9C90.080
Achromatopsia (no color)#BEBEBE0.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4AFF8

    #D4AFF8

    oklch(81.2% 0.108 307.3)

  • #AECF82

    #AECF82

    oklch(81.2% 0.108 127.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4AFF8

    #D4AFF8

    oklch(81.2% 0.108 307.3)

  • #B2BCFF

    #B2BCFF

    oklch(81.2% 0.095 277.5)

  • #EFA6DB

    #EFA6DB

    oklch(81.1% 0.109 337.1)

Open the analogous palette in the generator

Split complementary

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

  • #D4AFF8

    #D4AFF8

    oklch(81.2% 0.108 307.3)

  • #D5C26D

    #D5C26D

    oklch(81.2% 0.108 97.1)

  • #83D7A6

    #83D7A6

    oklch(81.2% 0.108 157.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4AFF8

    #D4AFF8

    oklch(81.2% 0.108 307.3)

  • #F0B473

    #F0B473

    oklch(81.2% 0.108 67.6)

  • #62D8CD

    #62D8CD

    oklch(81.2% 0.108 187)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4AFF8

    #D4AFF8

    oklch(81.2% 0.108 307.3)

  • #FEA98F

    #FEA98F

    oklch(81.2% 0.107 37.7)

  • #AECF82

    #AECF82

    oklch(81.2% 0.108 127.5)

  • #65D3EF

    #65D3EF

    oklch(81.3% 0.108 216.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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