#CD87D9

Closest named color: Lavender Pink (#DD85D7). oklch(72.3% 0.138 321.5), rgb(205, 135, 217).

Aa

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

About this color

#CD87D9 is a medium-light, moderately saturated purple. In OKLCH its lightness is 72%, its chroma 0.138 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.027 away. Black text reads best on it, at 8.06:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.06:1
White text2.60:1

Values

HEX#CD87D9
RGBrgb(205, 135, 217)
HSLhsl(291, 52%, 69%)
OKLCHoklch(72.3% 0.138 321.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 #CD87D9 2.60:1 Fails Lc -55.8 Large or bold text, headings
Black text on #CD87D9 8.06:1 AAA Lc 53.4 Large or bold text, headings
#CD87D9 text on white 2.60:1 Fails Lc 50.7 Large or bold text, headings
#CD87D9 text on black 8.06:1 AAA Lc -51.3 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F4

    oklch(93.7% 0.024 321.7)

  3. Step 200

    200

    #E8CFEC

    oklch(88.4% 0.048 321.6)

  4. Step 300

    300

    #DBAFE2

    oklch(81% 0.085 321.7)

  5. Step 400

    400 (this color)

    #CD87D9

    oklch(72.3% 0.138 321.5)

  6. Step 500

    500

    #B95FC8

    oklch(63.1% 0.176 321.7)

  7. Step 600

    600

    #A442B5

    oklch(55.7% 0.191 321.5)

  8. Step 700

    700

    #8C329B

    oklch(49% 0.178 321.6)

  9. Step 800

    800

    #722B7E

    oklch(42.7% 0.147 321.6)

  10. Step 900

    900

    #5C2865

    oklch(37.6% 0.115 321.5)

  11. Step 950

    950

    #36183B

    oklch(26.9% 0.073 321.7)

Export this scale for Tailwind in the Tailwind colors tool

#CD87D9 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)#7D9BDC0.122
Deuteranopia (no green cones)#8FA3D60.111
Tritanopia (no blue cones)#CF90A60.085
Achromatopsia (no color)#A0A0A00.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD87D9

    #CD87D9

    oklch(72.3% 0.138 321.5)

  • #71BB68

    #71BB68

    oklch(72.3% 0.138 141.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD87D9

    #CD87D9

    oklch(72.3% 0.138 321.5)

  • #A794F4

    #A794F4

    oklch(72.2% 0.138 291.7)

  • #E67FAF

    #E67FAF

    oklch(72.3% 0.138 351.8)

Open the analogous palette in the generator

Split complementary

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

  • #CD87D9

    #CD87D9

    oklch(72.3% 0.138 321.5)

  • #A9AD38

    #A9AD38

    oklch(72.3% 0.137 111.3)

  • #16C19B

    #16C19B

    oklch(72.4% 0.138 171.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD87D9

    #CD87D9

    oklch(72.3% 0.138 321.5)

  • #D19B28

    #D19B28

    oklch(72.3% 0.138 81.1)

  • #00BCC6

    #00BCC6

    oklch(72.4% 0.123 201.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD87D9

    #CD87D9

    oklch(72.3% 0.138 321.5)

  • #E88A4E

    #E88A4E

    oklch(72.2% 0.137 51.5)

  • #71BB68

    #71BB68

    oklch(72.3% 0.138 141.7)

  • #28B4EC

    #28B4EC

    oklch(72.4% 0.137 231.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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