#D2A7E5

Closest named color: Plum (#DDA0DD). oklch(78.8% 0.098 315.3), rgb(210, 167, 229).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.098)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text10.39:1
White text2.01:1

Values

HEX#D2A7E5
RGBrgb(210, 167, 229)
HSLhsl(282, 54%, 78%)
OKLCHoklch(78.8% 0.098 315.3)

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 #D2A7E5 2.01:1 Fails Lc -43.6 Non-text elements, placeholder text
Black text on #D2A7E5 10.39:1 AAA Lc 64.8 Content text, not long reading
#D2A7E5 text on white 2.01:1 Fails Lc 39.2 Non-text elements, placeholder text
#D2A7E5 text on black 10.39:1 AAA Lc -63.2 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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E7CFF2

    oklch(88.5% 0.054 315.3)

  4. Step 300

    300 (this color)

    #D2A7E5

    oklch(78.8% 0.098 315.3)

  5. Step 400

    400

    #C580E2

    oklch(70.7% 0.155 315.3)

  6. Step 500

    500

    #B65ADA

    oklch(63.1% 0.2 315.4)

  7. Step 600

    600

    #A13AC7

    oklch(55.6% 0.217 315.3)

  8. Step 700

    700

    #8A2AAC

    oklch(49.1% 0.202 315.4)

  9. Step 800

    800

    #70258B

    oklch(42.6% 0.167 315.5)

  10. Step 900

    900

    #5B256F

    oklch(37.7% 0.13 315.7)

  11. Step 950

    950

    #351741

    oklch(27% 0.082 315.3)

Export this scale for Tailwind in the Tailwind colors tool

#D2A7E5 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)#9FB4E80.075
Deuteranopia (no green cones)#A8B8E30.071
Tritanopia (no blue cones)#D1AEBD0.066
Achromatopsia (no color)#B6B6B60.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2A7E5

    #D2A7E5

    oklch(78.8% 0.098 315.3)

  • #9FC889

    #9FC889

    oklch(78.7% 0.097 135)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2A7E5

    #D2A7E5

    oklch(78.8% 0.098 315.3)

  • #B3B1F6

    #B3B1F6

    oklch(78.7% 0.097 285.3)

  • #E8A1C8

    #E8A1C8

    oklch(78.9% 0.097 345.5)

Open the analogous palette in the generator

Split complementary

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

  • #D2A7E5

    #D2A7E5

    oklch(78.8% 0.098 315.3)

  • #C3BE72

    #C3BE72

    oklch(78.9% 0.098 105.1)

  • #7ACEAB

    #7ACEAB

    oklch(78.8% 0.097 165.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2A7E5

    #D2A7E5

    oklch(78.8% 0.098 315.3)

  • #DFB171

    #DFB171

    oklch(78.8% 0.098 74.7)

  • #64CECE

    #64CECE

    oklch(78.9% 0.098 195.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2A7E5

    #D2A7E5

    oklch(78.8% 0.098 315.3)

  • #EFA685

    #EFA685

    oklch(78.8% 0.098 45.2)

  • #9FC889

    #9FC889

    oklch(78.7% 0.097 135)

  • #6FC7E9

    #6FC7E9

    oklch(78.7% 0.097 225.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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