#D8AFE7

Closest named color: Light Violet (#D6B4FC). oklch(80.9% 0.089 316.9), rgb(216, 175, 231).

Aa

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

About this color

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

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

Values

HEX#D8AFE7
RGBrgb(216, 175, 231)
HSLhsl(284, 54%, 80%)
OKLCHoklch(80.9% 0.089 316.9)

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 #D8AFE7 1.87:1 Fails Lc -39.6 Non-text elements, placeholder text
Black text on #D8AFE7 11.20:1 AAA Lc 68.4 Content text, not long reading
#D8AFE7 text on white 1.87:1 Fails Lc 35.4 Non-text elements, placeholder text
#D8AFE7 text on black 11.20:1 AAA Lc -67.1 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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F1E5F6

    oklch(93.6% 0.026 316.1)

  3. Step 200

    200

    #E7D0EF

    oklch(88.6% 0.049 317.4)

  4. Step 300

    300 (this color)

    #D8AFE7

    oklch(80.9% 0.089 316.9)

  5. Step 400

    400

    #C483DB

    oklch(70.8% 0.142 316.9)

  6. Step 500

    500

    #B460D1

    oklch(63.2% 0.181 316.7)

  7. Step 600

    600

    #9F42BE

    oklch(55.6% 0.197 316.6)

  8. Step 700

    700

    #8832A4

    oklch(49.1% 0.184 316.6)

  9. Step 800

    800

    #6F2B85

    oklch(42.7% 0.153 316.9)

  10. Step 900

    900

    #5A286A

    oklch(37.6% 0.119 317.2)

  11. Step 950

    950

    #35193E

    oklch(27.1% 0.074 317.4)

Export this scale for Tailwind in the Tailwind colors tool

#D8AFE7 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)#A8BBE90.070
Deuteranopia (no green cones)#B1BFE50.066
Tritanopia (no blue cones)#D8B5C20.060
Achromatopsia (no color)#BDBDBD0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8AFE7

    #D8AFE7

    oklch(80.9% 0.089 316.9)

  • #A6CE95

    #A6CE95

    oklch(80.8% 0.089 136.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8AFE7

    #D8AFE7

    oklch(80.9% 0.089 316.9)

  • #BCB8F8

    #BCB8F8

    oklch(80.8% 0.09 287.1)

  • #ECA9CC

    #ECA9CC

    oklch(80.8% 0.09 346.7)

Open the analogous palette in the generator

Split complementary

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

  • #D8AFE7

    #D8AFE7

    oklch(80.9% 0.089 316.9)

  • #C7C581

    #C7C581

    oklch(80.9% 0.089 106.8)

  • #86D3B4

    #86D3B4

    oklch(80.8% 0.089 166.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8AFE7

    #D8AFE7

    oklch(80.9% 0.089 316.9)

  • #E1B97E

    #E1B97E

    oklch(80.8% 0.089 76.7)

  • #75D3D4

    #75D3D4

    oklch(81% 0.09 196.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8AFE7

    #D8AFE7

    oklch(80.9% 0.089 316.9)

  • #F1AF8F

    #F1AF8F

    oklch(80.8% 0.089 46.9)

  • #A6CE95

    #A6CE95

    oklch(80.8% 0.089 136.5)

  • #7FCDED

    #7FCDED

    oklch(80.9% 0.089 226.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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