#D8A1EB

Closest named color: Plum (#DDA0DD). oklch(78.6% 0.118 317.2), rgb(216, 161, 235).

Aa

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

About this color

#D8A1EB is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.118 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.021 away. Black text reads best on it, at 10.21:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.118)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text10.21:1
White text2.05:1

Values

HEX#D8A1EB
RGBrgb(216, 161, 235)
HSLhsl(285, 65%, 78%)
OKLCHoklch(78.6% 0.118 317.2)

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 #D8A1EB 2.05:1 Fails Lc -44.5 Non-text elements, placeholder text
Black text on #D8A1EB 10.21:1 AAA Lc 64.0 Content text, not long reading
#D8A1EB text on white 2.05:1 Fails Lc 40.0 Non-text elements, placeholder text
#D8A1EB text on black 10.21:1 AAA Lc -62.3 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

    #FAF2FD

    oklch(97% 0.017 316.9)

  2. Step 100

    100

    #F3E3F9

    oklch(93.5% 0.034 316.9)

  3. Step 200

    200

    #EBCCF6

    oklch(88.4% 0.066 317.2)

  4. Step 300

    300 (this color)

    #D8A1EB

    oklch(78.6% 0.118 317.2)

  5. Step 400

    400

    #CF75ED

    oklch(70.7% 0.189 317.1)

  6. Step 500

    500

    #C147E6

    oklch(63% 0.241 317.2)

  7. Step 600

    600

    #AD13D4

    oklch(55.6% 0.262 317.3)

  8. Step 700

    700

    #9300B6

    oklch(49% 0.239 317.1)

  9. Step 800

    800

    #780995

    oklch(42.6% 0.202 317)

  10. Step 900

    900

    #611877

    oklch(37.7% 0.157 316.9)

  11. Step 950

    950

    #391145

    oklch(27% 0.099 317.5)

Export this scale for Tailwind in the Tailwind colors tool

#D8A1EB 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)#97B1EE0.096
Deuteranopia (no green cones)#A4B7E90.089
Tritanopia (no blue cones)#D8AABC0.078
Achromatopsia (no color)#B5B5B50.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8A1EB

    #D8A1EB

    oklch(78.6% 0.118 317.2)

  • #94CB7F

    #94CB7F

    oklch(78.5% 0.118 137.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8A1EB

    #D8A1EB

    oklch(78.6% 0.118 317.2)

  • #B4AEFF

    #B4AEFF

    oklch(78.6% 0.114 286.8)

  • #F19AC7

    #F19AC7

    oklch(78.7% 0.117 347.8)

Open the analogous palette in the generator

Split complementary

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

  • #D8A1EB

    #D8A1EB

    oklch(78.6% 0.118 317.2)

  • #C1BE60

    #C1BE60

    oklch(78.4% 0.117 107.2)

  • #63D1AA

    #63D1AA

    oklch(78.5% 0.117 167.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8A1EB

    #D8A1EB

    oklch(78.6% 0.118 317.2)

  • #E3AF5C

    #E3AF5C

    oklch(78.5% 0.118 77.3)

  • #42D0D3

    #42D0D3

    oklch(78.5% 0.118 197.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8A1EB

    #D8A1EB

    oklch(78.6% 0.118 317.2)

  • #F7A176

    #F7A176

    oklch(78.5% 0.118 47.1)

  • #94CB7F

    #94CB7F

    oklch(78.5% 0.118 137.4)

  • #59C8F4

    #59C8F4

    oklch(78.6% 0.118 227.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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