#D8A1DB

Closest named color: Plum (#DDA0DD). oklch(77.9% 0.101 324.8), rgb(216, 161, 219).

Aa

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

About this color

#D8A1DB is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.101 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.009 away. Black text reads best on it, at 10.04:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text10.04:1
White text2.09:1

Values

HEX#D8A1DB
RGBrgb(216, 161, 219)
HSLhsl(297, 45%, 75%)
OKLCHoklch(77.9% 0.101 324.8)

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 #D8A1DB 2.09:1 Fails Lc -45.4 Large or bold text, headings
Black text on #D8A1DB 10.04:1 AAA Lc 63.1 Content text, not long reading
#D8A1DB text on white 2.09:1 Fails Lc 40.8 Non-text elements, placeholder text
#D8A1DB text on black 10.04:1 AAA Lc -61.4 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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F4E4F5

    oklch(93.7% 0.028 324)

  3. Step 200

    200

    #EDCDEE

    oklch(88.5% 0.056 325.1)

  4. Step 300

    300 (this color)

    #D8A1DB

    oklch(77.9% 0.101 324.8)

  5. Step 400

    400

    #D17AD7

    oklch(70.6% 0.16 324.7)

  6. Step 500

    500

    #C452CD

    oklch(63.2% 0.206 324.7)

  7. Step 600

    600

    #AF2EB9

    oklch(55.6% 0.223 324.8)

  8. Step 700

    700

    #961EA0

    oklch(49.1% 0.208 324.6)

  9. Step 800

    800

    #7A1D81

    oklch(42.7% 0.172 324.9)

  10. Step 900

    900

    #632068

    oklch(37.8% 0.134 324.9)

  11. Step 950

    950

    #3A143D

    oklch(27% 0.086 324.7)

Export this scale for Tailwind in the Tailwind colors tool

#D8A1DB 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)#9CAFDD0.089
Deuteranopia (no green cones)#A9B6D90.083
Tritanopia (no blue cones)#DBA6B60.059
Achromatopsia (no color)#B3B3B30.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8A1DB

    #D8A1DB

    oklch(77.9% 0.101 324.8)

  • #8EC88F

    #8EC88F

    oklch(77.8% 0.1 144.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8A1DB

    #D8A1DB

    oklch(77.9% 0.101 324.8)

  • #BBABF1

    #BBABF1

    oklch(78% 0.1 294.5)

  • #EB9CBB

    #EB9CBB

    oklch(78% 0.101 354.5)

Open the analogous palette in the generator

Split complementary

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

  • #D8A1DB

    #D8A1DB

    oklch(77.9% 0.101 324.8)

  • #B5BF72

    #B5BF72

    oklch(77.9% 0.101 114.8)

  • #6ACCB3

    #6ACCB3

    oklch(77.8% 0.1 174.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8A1DB

    #D8A1DB

    oklch(77.9% 0.101 324.8)

  • #D5B269

    #D5B269

    oklch(77.9% 0.101 84.5)

  • #5DCAD5

    #5DCAD5

    oklch(78% 0.1 204.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8A1DB

    #D8A1DB

    oklch(77.9% 0.101 324.8)

  • #EAA678

    #EAA678

    oklch(78% 0.101 54.7)

  • #8EC88F

    #8EC88F

    oklch(77.8% 0.1 144.9)

  • #73C2EE

    #73C2EE

    oklch(78% 0.1 234.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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