#D8AFE4

Closest named color: Light Violet (#D6B4FC). oklch(80.8% 0.086 318.5), rgb(216, 175, 228).

Aa

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

About this color

#D8AFE4 is a light, moderately saturated purple. In OKLCH its lightness is 81%, its chroma 0.086 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.033 away. Black text reads best on it, at 11.17:1.

Hue familyPurples
Lightnesslight (81%)
Chromamoderately saturated (0.086)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.17:1
White text1.87:1

Values

HEX#D8AFE4
RGBrgb(216, 175, 228)
HSLhsl(286, 50%, 79%)
OKLCHoklch(80.8% 0.086 318.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 #D8AFE4 1.87:1 Fails Lc -39.8 Non-text elements, placeholder text
Black text on #D8AFE4 11.17:1 AAA Lc 68.3 Content text, not long reading
#D8AFE4 text on white 1.87:1 Fails Lc 35.6 Non-text elements, placeholder text
#D8AFE4 text on black 11.17:1 AAA Lc -66.9 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F1E5F5

    oklch(93.6% 0.025 317.7)

  3. Step 200

    200

    #E7D0EE

    oklch(88.6% 0.047 318.3)

  4. Step 300

    300 (this color)

    #D8AFE4

    oklch(80.8% 0.086 318.5)

  5. Step 400

    400

    #C483D7

    oklch(70.6% 0.137 318.4)

  6. Step 500

    500

    #B561CC

    oklch(63.1% 0.175 318.6)

  7. Step 600

    600

    #A044B9

    oklch(55.6% 0.19 318.4)

  8. Step 700

    700

    #89349F

    oklch(49.1% 0.177 318.7)

  9. Step 800

    800

    #6F2D81

    oklch(42.7% 0.146 318.4)

  10. Step 900

    900

    #5A2968

    oklch(37.7% 0.115 318.2)

  11. Step 950

    950

    #35193D

    oklch(27% 0.073 318.3)

Export this scale for Tailwind in the Tailwind colors tool

#D8AFE4 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)#A9BAE60.069
Deuteranopia (no green cones)#B2BEE20.064
Tritanopia (no blue cones)#D9B5C10.057
Achromatopsia (no color)#BDBDBD0.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8AFE4

    #D8AFE4

    oklch(80.8% 0.086 318.5)

  • #A5CE98

    #A5CE98

    oklch(80.8% 0.086 138.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8AFE4

    #D8AFE4

    oklch(80.8% 0.086 318.5)

  • #BDB8F5

    #BDB8F5

    oklch(80.8% 0.086 288.1)

  • #EBAAC9

    #EBAAC9

    oklch(80.8% 0.086 349)

Open the analogous palette in the generator

Split complementary

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

  • #D8AFE4

    #D8AFE4

    oklch(80.8% 0.086 318.5)

  • #C5C584

    #C5C584

    oklch(80.8% 0.085 108.2)

  • #87D2B6

    #87D2B6

    oklch(80.7% 0.085 168.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8AFE4

    #D8AFE4

    oklch(80.8% 0.086 318.5)

  • #DEBA80

    #DEBA80

    oklch(80.7% 0.086 79)

  • #79D1D4

    #79D1D4

    oklch(80.7% 0.085 198.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8AFE4

    #D8AFE4

    oklch(80.8% 0.086 318.5)

  • #EEB090

    #EEB090

    oklch(80.7% 0.085 48.4)

  • #A5CE98

    #A5CE98

    oklch(80.8% 0.086 138.3)

  • #83CBEC

    #83CBEC

    oklch(80.7% 0.086 228.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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