#CC87D8

Closest named color: Lavender Pink (#DD85D7). oklch(72.2% 0.136 321.5), rgb(204, 135, 216).

Aa

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

About this color

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

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

Values

HEX#CC87D8
RGBrgb(204, 135, 216)
HSLhsl(291, 51%, 69%)
OKLCHoklch(72.2% 0.136 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 #CC87D8 2.61:1 Fails Lc -56.0 Large or bold text, headings
Black text on #CC87D8 8.02:1 AAA Lc 53.1 Large or bold text, headings
#CC87D8 text on white 2.61:1 Fails Lc 50.9 Large or bold text, headings
#CC87D8 text on black 8.02:1 AAA Lc -51.0 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)

    #CC87D8

    oklch(72.2% 0.136 321.5)

  6. Step 500

    500

    #B860C7

    oklch(63.1% 0.173 321.6)

  7. Step 600

    600

    #A343B4

    oklch(55.6% 0.188 321.4)

  8. Step 700

    700

    #8C339B

    oklch(49.1% 0.176 321.6)

  9. Step 800

    800

    #712C7E

    oklch(42.7% 0.145 321)

  10. Step 900

    900

    #5C2965

    oklch(37.7% 0.113 321.4)

  11. Step 950

    950

    #36193B

    oklch(27.1% 0.071 321.6)

Export this scale for Tailwind in the Tailwind colors tool

#CC87D8 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)#7D9BDB0.120
Deuteranopia (no green cones)#8FA3D50.110
Tritanopia (no blue cones)#CE90A60.084
Achromatopsia (no color)#A0A0A00.137

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC87D8

    #CC87D8

    oklch(72.2% 0.136 321.5)

  • #72BA68

    #72BA68

    oklch(72.2% 0.136 141.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC87D8

    #CC87D8

    oklch(72.2% 0.136 321.5)

  • #A794F3

    #A794F3

    oklch(72.1% 0.136 291.8)

  • #E47FAF

    #E47FAF

    oklch(72.1% 0.136 351.2)

Open the analogous palette in the generator

Split complementary

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

  • #CC87D8

    #CC87D8

    oklch(72.2% 0.136 321.5)

  • #A8AD39

    #A8AD39

    oklch(72.2% 0.137 111.8)

  • #1CC09A

    #1CC09A

    oklch(72.1% 0.136 171.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC87D8

    #CC87D8

    oklch(72.2% 0.136 321.5)

  • #D09B2A

    #D09B2A

    oklch(72.2% 0.136 81.3)

  • #00BBC5

    #00BBC5

    oklch(72.1% 0.123 201.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC87D8

    #CC87D8

    oklch(72.2% 0.136 321.5)

  • #E78A4F

    #E78A4F

    oklch(72.1% 0.136 51.4)

  • #72BA68

    #72BA68

    oklch(72.2% 0.136 141.4)

  • #2BB3EB

    #2BB3EB

    oklch(72.2% 0.136 231.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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