#CC87DD

Closest named color: Lavender Pink (#DD85D7). oklch(72.4% 0.141 319.5), rgb(204, 135, 221).

Aa

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

About this color

#CC87DD 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.029 away. Black text reads best on it, at 8.07:1.

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

Values

HEX#CC87DD
RGBrgb(204, 135, 221)
HSLhsl(288, 56%, 70%)
OKLCHoklch(72.4% 0.141 319.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 #CC87DD 2.59:1 Fails Lc -55.7 Large or bold text, headings
Black text on #CC87DD 8.07:1 AAA Lc 53.4 Large or bold text, headings
#CC87DD text on white 2.59:1 Fails Lc 50.6 Large or bold text, headings
#CC87DD text on black 8.07: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

    #F9F3FB

    oklch(97.1% 0.012 317.7)

  2. Step 100

    100

    #F2E5F5

    oklch(93.7% 0.025 319.9)

  3. Step 200

    200

    #E8CFEE

    oklch(88.5% 0.05 319.7)

  4. Step 300

    300

    #DAAFE5

    oklch(81% 0.088 319.3)

  5. Step 400

    400 (this color)

    #CC87DD

    oklch(72.4% 0.141 319.5)

  6. Step 500

    500

    #B75FCD

    oklch(63.2% 0.18 319.3)

  7. Step 600

    600

    #A241B9

    oklch(55.6% 0.195 319.4)

  8. Step 700

    700

    #8B31A0

    oklch(49.1% 0.183 319.4)

  9. Step 800

    800

    #712A81

    oklch(42.6% 0.151 319.8)

  10. Step 900

    900

    #5C2868

    oklch(37.8% 0.118 319.8)

  11. Step 950

    950

    #36183D

    oklch(27% 0.075 319.8)

Export this scale for Tailwind in the Tailwind colors tool

#CC87DD 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)#7B9CE00.123
Deuteranopia (no green cones)#8DA3DA0.112
Tritanopia (no blue cones)#CD91A80.089
Achromatopsia (no color)#A0A0A00.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC87DD

    #CC87DD

    oklch(72.4% 0.141 319.5)

  • #74BB62

    #74BB62

    oklch(72.4% 0.142 139.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC87DD

    #CC87DD

    oklch(72.4% 0.141 319.5)

  • #A495F8

    #A495F8

    oklch(72.3% 0.142 289.3)

  • #E67EB3

    #E67EB3

    oklch(72.3% 0.142 349.4)

Open the analogous palette in the generator

Split complementary

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

  • #CC87DD

    #CC87DD

    oklch(72.4% 0.141 319.5)

  • #ACAC30

    #ACAC30

    oklch(72.2% 0.141 109.5)

  • #14C197

    #14C197

    oklch(72.2% 0.141 169.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC87DD

    #CC87DD

    oklch(72.4% 0.141 319.5)

  • #D49A22

    #D49A22

    oklch(72.4% 0.141 79.6)

  • #00BCC3

    #00BCC3

    oklch(72.3% 0.123 199.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC87DD

    #CC87DD

    oklch(72.4% 0.141 319.5)

  • #EB884E

    #EB884E

    oklch(72.3% 0.141 49.4)

  • #74BB62

    #74BB62

    oklch(72.4% 0.142 139.5)

  • #10B5EC

    #10B5EC

    oklch(72.4% 0.141 229.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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