#D8A2E7

Closest named color: Plum (#DDA0DD). oklch(78.6% 0.112 318.8), rgb(216, 162, 231).

Aa

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

About this color

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

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

Values

HEX#D8A2E7
RGBrgb(216, 162, 231)
HSLhsl(287, 59%, 77%)
OKLCHoklch(78.6% 0.112 318.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 #D8A2E7 2.05:1 Fails Lc -44.4 Non-text elements, placeholder text
Black text on #D8A2E7 10.24:1 AAA Lc 64.1 Content text, not long reading
#D8A2E7 text on white 2.05:1 Fails Lc 39.9 Non-text elements, placeholder text
#D8A2E7 text on black 10.24:1 AAA Lc -62.5 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

    #FAF2FC

    oklch(97% 0.016 319.4)

  2. Step 100

    100

    #F4E3F8

    oklch(93.6% 0.033 319.8)

  3. Step 200

    200

    #EBCDF4

    oklch(88.5% 0.062 318.4)

  4. Step 300

    300 (this color)

    #D8A2E7

    oklch(78.6% 0.112 318.8)

  5. Step 400

    400

    #CF77E6

    oklch(70.7% 0.179 319)

  6. Step 500

    500

    #C14CDF

    oklch(63.1% 0.229 318.8)

  7. Step 600

    600

    #AC21CC

    oklch(55.5% 0.248 318.8)

  8. Step 700

    700

    #940CB1

    oklch(49.1% 0.231 318.8)

  9. Step 800

    800

    #78138F

    oklch(42.6% 0.191 318.8)

  10. Step 900

    900

    #611C72

    oklch(37.7% 0.148 318.9)

  11. Step 950

    950

    #391243

    oklch(27% 0.095 318.8)

Export this scale for Tailwind in the Tailwind colors tool

#D8A2E7 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)#9AB1EA0.092
Deuteranopia (no green cones)#A6B7E50.086
Tritanopia (no blue cones)#D9AABB0.073
Achromatopsia (no color)#B5B5B50.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8A2E7

    #D8A2E7

    oklch(78.6% 0.112 318.8)

  • #94CB84

    #94CB84

    oklch(78.6% 0.113 138.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8A2E7

    #D8A2E7

    oklch(78.6% 0.112 318.8)

  • #B6ADFD

    #B6ADFD

    oklch(78.5% 0.113 288.7)

  • #EF9BC5

    #EF9BC5

    oklch(78.6% 0.112 348.6)

Open the analogous palette in the generator

Split complementary

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

  • #D8A2E7

    #D8A2E7

    oklch(78.6% 0.112 318.8)

  • #BFBF67

    #BFBF67

    oklch(78.6% 0.111 108.7)

  • #67D0AD

    #67D0AD

    oklch(78.5% 0.111 169.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8A2E7

    #D8A2E7

    oklch(78.6% 0.112 318.8)

  • #E0B061

    #E0B061

    oklch(78.5% 0.112 78.4)

  • #4DCFD4

    #4DCFD4

    oklch(78.6% 0.112 198.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8A2E7

    #D8A2E7

    oklch(78.6% 0.112 318.8)

  • #F4A378

    #F4A378

    oklch(78.6% 0.112 48.5)

  • #94CB84

    #94CB84

    oklch(78.6% 0.113 138.8)

  • #63C7F2

    #63C7F2

    oklch(78.6% 0.111 228.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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