#CC88F2#CC88F2
#CC88F2 is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.5% C 0.163 H 312.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #CC88F2 |
|---|---|
| RGB | rgb(204, 136, 242) |
| HSL | hsl(278, 80%, 74%) |
| HSV | hsv(278, 44%, 95%) |
| CMYK | cmyk(15.7%, 43.8%, 0%, 5.1%) |
| CIE-LAB | lab(67.17, 44.41, -43.24) |
| CIE-LCH | lch(67.17, 61.98, 315.76°) |
| OKLab | oklab(73.51% 0.11 -0.12) |
| OKLCH | oklch(73.51% 0.163 312.5) |
| XYZ | xyz(49.7303, 36.8575, 88.4817) |
| Luminance | 0.3686 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.20
Baby Purple
#CA9BF7
ΔE00 4.83
Light Purple
#BF77F6
ΔE00 5.03
Pastel Purple
#CAA0FF
ΔE00 6.25
Lavender (survey)
#C79FEF
ΔE00 6.36
Lilac (survey)
#CEA2FD
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC88F2 #AEF288
analogous
#9788F2 #CC88F2 #F288E3
triadic
#CC88F2 #F2CC88 #88F2CC
tetradic
#CC88F2 #F29788 #AEF288 #88E3F2
square
#CC88F2 #F29788 #AEF288 #88E3F2
split-complementary
#CC88F2 #E3F288 #88F297
monochromatic
#9D1AE6 #B451EC #CC88F2 #E4BFF8 #F3E3FC
Accessibility & contrast
On white
2.51
#CC88F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#CC88F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC88F2
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC88F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC88F2 | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72A0F6
Deuteranopia (green-blind)
#84A5EF
Tritanopia (blue-blind)
#C898B2
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #cc88f2; /* rgb */ color: rgb(204, 136, 242); /* oklch */ color: oklch(73.5% 0.163 312.5);
Tailwind
colors: {
custom: {
50: '#ddacf7',
500: '#cc88f2',
950: '#000000',
},
}SCSS
$custom: #cc88f2; $custom-light: #ddacf7; $custom-dark: #000000;
JSON
{
"hex": "#cc88f2",
"rgb": {
"r": 204,
"g": 136,
"b": 242
},
"hsl": {
"h": 278.491,
"s": 80.303,
"l": 74.118
},
"oklch": {
"l": 0.73512,
"c": 0.16275,
"h": 312.5
},
"luminance": 0.36856
}Semantic roles & 50–950 ramp
primary
#CC88F2
secondary
#E1F4D7
accent
#DD0955
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85