#D8A2EA

Closest named color: Plum (#DDA0DD). oklch(78.7% 0.115 317.5), rgb(216, 162, 234).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text10.27:1
White text2.04:1

Values

HEX#D8A2EA
RGBrgb(216, 162, 234)
HSLhsl(285, 63%, 78%)
OKLCHoklch(78.7% 0.115 317.5)

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 #D8A2EA 2.04:1 Fails Lc -44.2 Non-text elements, placeholder text
Black text on #D8A2EA 10.27:1 AAA Lc 64.2 Content text, not long reading
#D8A2EA text on white 2.04:1 Fails Lc 39.7 Non-text elements, placeholder text
#D8A2EA text on black 10.27:1 AAA Lc -62.6 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

    #F3E3F9

    oklch(93.5% 0.034 316.9)

  3. Step 200

    200

    #EBCDF5

    oklch(88.6% 0.063 317.6)

  4. Step 300

    300 (this color)

    #D8A2EA

    oklch(78.7% 0.115 317.5)

  5. Step 400

    400

    #CE76EA

    oklch(70.6% 0.184 317.5)

  6. Step 500

    500

    #C04AE4

    oklch(63.1% 0.235 317.3)

  7. Step 600

    600

    #AC1BD1

    oklch(55.6% 0.256 317.6)

  8. Step 700

    700

    #9402B5

    oklch(49.2% 0.238 317.8)

  9. Step 800

    800

    #780F93

    oklch(42.7% 0.197 317.5)

  10. Step 900

    900

    #611A75

    oklch(37.7% 0.153 317.6)

  11. Step 950

    950

    #391245

    oklch(27.1% 0.097 317.3)

Export this scale for Tailwind in the Tailwind colors tool

#D8A2EA 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)#99B2ED0.093
Deuteranopia (no green cones)#A5B7E80.086
Tritanopia (no blue cones)#D8AABC0.076
Achromatopsia (no color)#B5B5B50.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8A2EA

    #D8A2EA

    oklch(78.7% 0.115 317.5)

  • #95CB81

    #95CB81

    oklch(78.6% 0.116 137.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8A2EA

    #D8A2EA

    oklch(78.7% 0.115 317.5)

  • #B5AEFF

    #B5AEFF

    oklch(78.7% 0.114 287.4)

  • #F09BC7

    #F09BC7

    oklch(78.7% 0.115 347.7)

Open the analogous palette in the generator

Split complementary

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

  • #D8A2EA

    #D8A2EA

    oklch(78.7% 0.115 317.5)

  • #C1BF63

    #C1BF63

    oklch(78.7% 0.115 107.7)

  • #66D1AB

    #66D1AB

    oklch(78.7% 0.114 167.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8A2EA

    #D8A2EA

    oklch(78.7% 0.115 317.5)

  • #E2B05F

    #E2B05F

    oklch(78.7% 0.115 77.9)

  • #48D0D3

    #48D0D3

    oklch(78.7% 0.115 197.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8A2EA

    #D8A2EA

    oklch(78.7% 0.115 317.5)

  • #F6A278

    #F6A278

    oklch(78.6% 0.115 47.1)

  • #95CB81

    #95CB81

    oklch(78.6% 0.116 137.5)

  • #5DC8F3

    #5DC8F3

    oklch(78.7% 0.115 227.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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