#D8AFE9

Closest named color: Light Violet (#D6B4FC). oklch(80.9% 0.091 315.9), rgb(216, 175, 233).

Aa

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

About this color

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

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

Values

HEX#D8AFE9
RGBrgb(216, 175, 233)
HSLhsl(282, 57%, 80%)
OKLCHoklch(80.9% 0.091 315.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 #D8AFE9 1.87:1 Fails Lc -39.5 Non-text elements, placeholder text
Black text on #D8AFE9 11.22:1 AAA Lc 68.6 Content text, not long reading
#D8AFE9 text on white 1.87:1 Fails Lc 35.3 Non-text elements, placeholder text
#D8AFE9 text on black 11.22:1 AAA Lc -67.2 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

    #E7D0F0

    oklch(88.6% 0.05 316.5)

  4. Step 300

    300 (this color)

    #D8AFE9

    oklch(80.9% 0.091 315.9)

  5. Step 400

    400

    #C482DE

    oklch(70.8% 0.147 316)

  6. Step 500

    500

    #B45FD4

    oklch(63.2% 0.186 315.9)

  7. Step 600

    600

    #9F40C1

    oklch(55.6% 0.203 315.8)

  8. Step 700

    700

    #8831A7

    oklch(49.2% 0.188 315.7)

  9. Step 800

    800

    #6F2A87

    oklch(42.8% 0.156 316.1)

  10. Step 900

    900

    #5A286C

    oklch(37.8% 0.121 316.1)

  11. Step 950

    950

    #35183F

    oklch(27% 0.077 316.7)

Export this scale for Tailwind in the Tailwind colors tool

#D8AFE9 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)#A7BBEB0.071
Deuteranopia (no green cones)#B0BFE70.067
Tritanopia (no blue cones)#D8B6C30.063
Achromatopsia (no color)#BDBDBD0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8AFE9

    #D8AFE9

    oklch(80.9% 0.091 315.9)

  • #A6CF94

    #A6CF94

    oklch(81% 0.092 136.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8AFE9

    #D8AFE9

    oklch(80.9% 0.091 315.9)

  • #BBB9FA

    #BBB9FA

    oklch(81% 0.091 285.6)

  • #EDA9CD

    #EDA9CD

    oklch(81% 0.092 346.3)

Open the analogous palette in the generator

Split complementary

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

  • #D8AFE9

    #D8AFE9

    oklch(80.9% 0.091 315.9)

  • #C8C57E

    #C8C57E

    oklch(81% 0.092 106.2)

  • #85D4B3

    #85D4B3

    oklch(81% 0.092 165.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8AFE9

    #D8AFE9

    oklch(80.9% 0.091 315.9)

  • #E3B97D

    #E3B97D

    oklch(81% 0.091 75.8)

  • #73D3D4

    #73D3D4

    oklch(80.9% 0.091 196.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8AFE9

    #D8AFE9

    oklch(80.9% 0.091 315.9)

  • #F3AF8F

    #F3AF8F

    oklch(81% 0.091 46.2)

  • #A6CF94

    #A6CF94

    oklch(81% 0.092 136.3)

  • #7DCDEE

    #7DCDEE

    oklch(80.9% 0.091 226.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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