#CD87D8

Closest named color: Lavender Pink (#DD85D7). oklch(72.3% 0.137 321.9), rgb(205, 135, 216).

Aa

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

About this color

#CD87D8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 72%, its chroma 0.137 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.05:1.

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

Values

HEX#CD87D8
RGBrgb(205, 135, 216)
HSLhsl(292, 51%, 69%)
OKLCHoklch(72.3% 0.137 321.9)

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 #CD87D8 2.60:1 Fails Lc -55.9 Large or bold text, headings
Black text on #CD87D8 8.05:1 AAA Lc 53.3 Large or bold text, headings
#CD87D8 text on white 2.60:1 Fails Lc 50.7 Large or bold text, headings
#CD87D8 text on black 8.05:1 AAA Lc -51.2 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)

    #CD87D8

    oklch(72.3% 0.137 321.9)

  6. Step 500

    500

    #B95FC7

    oklch(63.1% 0.175 322.1)

  7. Step 600

    600

    #A442B3

    oklch(55.6% 0.189 322.1)

  8. Step 700

    700

    #8C339A

    oklch(49.1% 0.175 322)

  9. Step 800

    800

    #722B7D

    oklch(42.7% 0.146 322.1)

  10. Step 900

    900

    #5C2865

    oklch(37.6% 0.115 321.5)

  11. Step 950

    950

    #36193B

    oklch(27.1% 0.071 321.6)

Export this scale for Tailwind in the Tailwind colors tool

#CD87D8 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)#7E9BDB0.121
Deuteranopia (no green cones)#8FA3D50.111
Tritanopia (no blue cones)#CF90A60.084
Achromatopsia (no color)#A0A0A00.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD87D8

    #CD87D8

    oklch(72.3% 0.137 321.9)

  • #71BB69

    #71BB69

    oklch(72.4% 0.137 141.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD87D8

    #CD87D8

    oklch(72.3% 0.137 321.9)

  • #A894F3

    #A894F3

    oklch(72.2% 0.136 292.3)

  • #E57FAE

    #E57FAE

    oklch(72.2% 0.136 352)

Open the analogous palette in the generator

Split complementary

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

  • #CD87D8

    #CD87D8

    oklch(72.3% 0.137 321.9)

  • #A8AD3A

    #A8AD3A

    oklch(72.2% 0.136 111.8)

  • #18C09B

    #18C09B

    oklch(72.1% 0.136 171.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD87D8

    #CD87D8

    oklch(72.3% 0.137 321.9)

  • #D09C2A

    #D09C2A

    oklch(72.4% 0.137 82)

  • #00BCC6

    #00BCC6

    oklch(72.4% 0.123 201.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD87D8

    #CD87D8

    oklch(72.3% 0.137 321.9)

  • #E88B4E

    #E88B4E

    oklch(72.4% 0.137 52.2)

  • #71BB69

    #71BB69

    oklch(72.4% 0.137 141.9)

  • #2CB3EC

    #2CB3EC

    oklch(72.2% 0.137 232.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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