#CD87DC

Closest named color: Lavender Pink (#DD85D7). oklch(72.4% 0.141 320.4), rgb(205, 135, 220).

Aa

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

About this color

#CD87DC is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.141 and its hue 320°. 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.09:1.

Hue familyPurples
Lightnessmedium-light (72%)
Chromavivid (0.141)
Temperaturein between
Nearest nameLavender Pink (#DD85D7)
Black text8.09:1
White text2.59:1

Values

HEX#CD87DC
RGBrgb(205, 135, 220)
HSLhsl(289, 55%, 70%)
OKLCHoklch(72.4% 0.141 320.4)

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 #CD87DC 2.59:1 Fails Lc -55.6 Large or bold text, headings
Black text on #CD87DC 8.09:1 AAA Lc 53.5 Large or bold text, headings
#CD87DC text on white 2.59:1 Fails Lc 50.5 Large or bold text, headings
#CD87DC text on black 8.09:1 AAA Lc -51.4 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

    #F2E5F5

    oklch(93.7% 0.025 319.9)

  3. Step 200

    200

    #E8CFED

    oklch(88.4% 0.049 320.6)

  4. Step 300

    300

    #DBAEE4

    oklch(80.9% 0.089 320.7)

  5. Step 400

    400 (this color)

    #CD87DC

    oklch(72.4% 0.141 320.4)

  6. Step 500

    500

    #B85ECB

    oklch(63% 0.18 320.4)

  7. Step 600

    600

    #A340B8

    oklch(55.5% 0.196 320.2)

  8. Step 700

    700

    #8C319E

    oklch(49.1% 0.182 320.6)

  9. Step 800

    800

    #722A80

    oklch(42.7% 0.151 320.8)

  10. Step 900

    900

    #5C2867

    oklch(37.7% 0.117 320.3)

  11. Step 950

    950

    #36183C

    oklch(26.9% 0.074 320.7)

Export this scale for Tailwind in the Tailwind colors tool

#CD87DC 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)#7C9CDF0.123
Deuteranopia (no green cones)#8EA3D90.112
Tritanopia (no blue cones)#CE91A70.089
Achromatopsia (no color)#A1A1A10.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #CD87DC

    #CD87DC

    oklch(72.4% 0.141 320.4)

  • #73BB64

    #73BB64

    oklch(72.4% 0.14 140.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CD87DC

    #CD87DC

    oklch(72.4% 0.141 320.4)

  • #A695F7

    #A695F7

    oklch(72.4% 0.14 290.4)

  • #E77FB2

    #E77FB2

    oklch(72.6% 0.14 350.4)

Open the analogous palette in the generator

Split complementary

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

  • #CD87DC

    #CD87DC

    oklch(72.4% 0.141 320.4)

  • #ABAD32

    #ABAD32

    oklch(72.4% 0.141 110.4)

  • #10C299

    #10C299

    oklch(72.5% 0.141 170.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CD87DC

    #CD87DC

    oklch(72.4% 0.141 320.4)

  • #D39B23

    #D39B23

    oklch(72.5% 0.141 80.7)

  • #00BCC5

    #00BCC5

    oklch(72.3% 0.123 200.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CD87DC

    #CD87DC

    oklch(72.4% 0.141 320.4)

  • #EB894E

    #EB894E

    oklch(72.4% 0.141 50.1)

  • #73BB64

    #73BB64

    oklch(72.4% 0.14 140.2)

  • #19B5ED

    #19B5ED

    oklch(72.5% 0.141 230.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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