#CC87ED
Closest named color: Liliac (#C48EFD). oklch(73.1% 0.159 314.1), rgb(204, 135, 237).
Aa
Black text reads best on this color (8.25:1).
About this color
#CC87ED is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.159 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.028 away. Black text reads best on it, at 8.25:1.
| Hue family | Purples |
| Lightness | medium-light (73%) |
| Chroma | vivid (0.159) |
| Temperature | in between |
| Nearest name | Liliac (#C48EFD) |
| Black text | 8.25:1 |
| White text | 2.54:1 |
Values
| HEX | #CC87ED |
| RGB | rgb(204, 135, 237) |
| HSL | hsl(281, 74%, 73%) |
| OKLCH | oklch(73.1% 0.159 314.1) |
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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #CC87ED | 2.54:1 | Fails | Lc -54.7 | Large or bold text, headings |
| Black text on #CC87ED | 8.25:1 | AAA | Lc 54.4 | Large or bold text, headings |
| #CC87ED text on white | 2.54:1 | Fails | Lc 49.6 | Large or bold text, headings |
| #CC87ED text on black | 8.25: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.
-
Step 50
50
#F9F3FC
oklch(97.1% 0.013 314.8)
-
Step 100
100
#F1E5F8
oklch(93.7% 0.028 313.4)
-
Step 200
200
#E7CFF3
oklch(88.5% 0.055 314.5)
-
Step 300
300
#D8AEEE
oklch(81% 0.099 313.8)
-
Step 400
400 (this color)
#CC87ED
oklch(73.1% 0.159 314.1)
-
Step 500
500
#B55ADD
oklch(63.2% 0.203 314.2)
-
Step 600
600
#A039CA
oklch(55.5% 0.22 314.1)
-
Step 700
700
#8929AF
oklch(49.1% 0.205 314.1)
-
Step 800
800
#6F258E
oklch(42.7% 0.17 313.8)
-
Step 900
900
#5A2571
oklch(37.7% 0.132 314)
-
Step 950
950
#351742
oklch(27% 0.083 314.5)
#CC87ED 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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #749EF1 | 0.130 |
| Deuteranopia (no green cones) | #86A4EA | 0.118 |
| Tritanopia (no blue cones) | #CA96AF | 0.108 |
| Achromatopsia (no color) | #A2A2A2 | 0.160 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #CC87ED
#CC87ED
oklch(73.1% 0.159 314.1)
- #7CBD4E
#7CBD4E
oklch(73.1% 0.159 134.2)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #CC87ED, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Liliac #C48EFD ΔE 0.028
- Lavender Pink #DD85D7 ΔE 0.043
- Baby Purple #CA9BF7 ΔE 0.046
- Light Purple #BF77F6 ΔE 0.049
- Orchid #DA70D6 ΔE 0.057
- Violet #EE82EE ΔE 0.057
- Pale Purple #B790D4 ΔE 0.057
- Pastel Purple #CAA0FF ΔE 0.059
Use #CC87ED 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.