#D8A1E2

Closest named color: Plum (#DDA0DD). oklch(78.2% 0.108 321.2), rgb(216, 161, 226).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text10.11:1
White text2.07:1

Values

HEX#D8A1E2
RGBrgb(216, 161, 226)
HSLhsl(291, 53%, 76%)
OKLCHoklch(78.2% 0.108 321.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 #D8A1E2 2.07:1 Fails Lc -45.0 Large or bold text, headings
Black text on #D8A1E2 10.11:1 AAA Lc 63.5 Content text, not long reading
#D8A1E2 text on white 2.07:1 Fails Lc 40.5 Non-text elements, placeholder text
#D8A1E2 text on black 10.11:1 AAA Lc -61.8 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

    #FAF2FB

    oklch(97% 0.015 322.3)

  2. Step 100

    100

    #F4E3F7

    oklch(93.5% 0.032 321.1)

  3. Step 200

    200

    #ECCDF2

    oklch(88.6% 0.06 320.8)

  4. Step 300

    300 (this color)

    #D8A1E2

    oklch(78.2% 0.108 321.2)

  5. Step 400

    400

    #D078E1

    oklch(70.7% 0.173 321)

  6. Step 500

    500

    #C34ED8

    oklch(63.2% 0.221 321.3)

  7. Step 600

    600

    #AE25C5

    oklch(55.6% 0.24 321.2)

  8. Step 700

    700

    #9513AA

    oklch(49% 0.223 321.1)

  9. Step 800

    800

    #79178A

    oklch(42.7% 0.185 321)

  10. Step 900

    900

    #621D6E

    oklch(37.7% 0.144 321.3)

  11. Step 950

    950

    #3A1341

    oklch(27.1% 0.092 321.3)

Export this scale for Tailwind in the Tailwind colors tool

#D8A1E2 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)#9AB0E50.092
Deuteranopia (no green cones)#A7B6E00.085
Tritanopia (no blue cones)#DAA8B80.069
Achromatopsia (no color)#B4B4B40.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8A1E2

    #D8A1E2

    oklch(78.2% 0.108 321.2)

  • #91CA88

    #91CA88

    oklch(78.3% 0.109 141.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8A1E2

    #D8A1E2

    oklch(78.2% 0.108 321.2)

  • #B8ACF8

    #B8ACF8

    oklch(78.2% 0.107 290.9)

  • #ED9BC0

    #ED9BC0

    oklch(78.2% 0.108 351.3)

Open the analogous palette in the generator

Split complementary

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

  • #D8A1E2

    #D8A1E2

    oklch(78.2% 0.108 321.2)

  • #BABF6A

    #BABF6A

    oklch(78.2% 0.109 111.6)

  • #67CFAF

    #67CFAF

    oklch(78.3% 0.108 170.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8A1E2

    #D8A1E2

    oklch(78.2% 0.108 321.2)

  • #DBB163

    #DBB163

    oklch(78.2% 0.108 81.6)

  • #52CDD5

    #52CDD5

    oklch(78.3% 0.108 201.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8A1E2

    #D8A1E2

    oklch(78.2% 0.108 321.2)

  • #EFA477

    #EFA477

    oklch(78.2% 0.107 51.5)

  • #91CA88

    #91CA88

    oklch(78.3% 0.109 141.1)

  • #68C4F1

    #68C4F1

    oklch(78.1% 0.109 231.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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