#CC87EC

Closest named color: Liliac (#C48EFD). oklch(73.1% 0.158 314.4), rgb(204, 135, 236).

Aa

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

About this color

#CC87EC is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.158 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.029 away. Black text reads best on it, at 8.24:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromavivid (0.158)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.24:1
White text2.54:1

Values

HEX#CC87EC
RGBrgb(204, 135, 236)
HSLhsl(281, 73%, 73%)
OKLCHoklch(73.1% 0.158 314.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 #CC87EC 2.54:1 Fails Lc -54.8 Large or bold text, headings
Black text on #CC87EC 8.24:1 AAA Lc 54.3 Large or bold text, headings
#CC87EC text on white 2.54:1 Fails Lc 49.7 Large or bold text, headings
#CC87EC text on black 8.24:1 AAA Lc -52.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

    #F9F3FC

    oklch(97.1% 0.013 314.8)

  2. Step 100

    100

    #F1E5F7

    oklch(93.7% 0.027 314.7)

  3. Step 200

    200

    #E7CFF3

    oklch(88.5% 0.055 314.5)

  4. Step 300

    300

    #D8AEED

    oklch(80.9% 0.098 314.2)

  5. Step 400

    400 (this color)

    #CC87EC

    oklch(73.1% 0.158 314.4)

  6. Step 500

    500

    #B55ADC

    oklch(63.1% 0.202 314.5)

  7. Step 600

    600

    #A03AC9

    oklch(55.6% 0.218 314.4)

  8. Step 700

    700

    #892AAE

    oklch(49.1% 0.203 314.4)

  9. Step 800

    800

    #6F258D

    oklch(42.6% 0.169 314.2)

  10. Step 900

    900

    #5A2571

    oklch(37.7% 0.132 314)

  11. Step 950

    950

    #351742

    oklch(27% 0.083 314.5)

Export this scale for Tailwind in the Tailwind colors tool

#CC87EC 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)#749EF00.130
Deuteranopia (no green cones)#86A4E90.119
Tritanopia (no blue cones)#CA95AE0.107
Achromatopsia (no color)#A2A2A20.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #CC87EC

    #CC87EC

    oklch(73.1% 0.158 314.4)

  • #7CBD4F

    #7CBD4F

    oklch(73.1% 0.158 134.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CC87EC

    #CC87EC

    oklch(73.1% 0.158 314.4)

  • #9E99FF

    #9E99FF

    oklch(73% 0.146 284.4)

  • #EB7CBF

    #EB7CBF

    oklch(73.1% 0.157 344.6)

Open the analogous palette in the generator

Split complementary

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

  • #CC87EC

    #CC87EC

    oklch(73.1% 0.158 314.4)

  • #B8AC00

    #B8AC00

    oklch(73.1% 0.155 104.6)

  • #00C68E

    #00C68E

    oklch(73.2% 0.155 164.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CC87EC

    #CC87EC

    oklch(73.1% 0.158 314.4)

  • #E09700

    #E09700

    oklch(73.1% 0.154 74.6)

  • #00C0BF

    #00C0BF

    oklch(73.1% 0.125 194.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CC87EC

    #CC87EC

    oklch(73.1% 0.158 314.4)

  • #F7834D

    #F7834D

    oklch(73% 0.158 44.4)

  • #7CBD4F

    #7CBD4F

    oklch(73.1% 0.158 134.4)

  • #00B9E8

    #00B9E8

    oklch(73.1% 0.138 224.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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