#CC85F2#CC85F2
#CC85F2 is a light, vivid violet. Relative luminance 0.360; OKLCH L 73.0% C 0.168 H 312.9°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #CC85F2 |
|---|---|
| RGB | rgb(204, 133, 242) |
| HSL | hsl(279, 81%, 74%) |
| HSV | hsv(279, 45%, 95%) |
| CMYK | cmyk(15.7%, 45%, 0%, 5.1%) |
| CIE-LAB | lab(66.54, 46.00, -44.23) |
| CIE-LCH | lch(66.54, 63.82, 316.13°) |
| OKLab | oklab(73.04% 0.1141 -0.1228) |
| OKLCH | oklch(73.04% 0.168 312.9) |
| XYZ | xyz(49.3137, 36.0243, 88.3428) |
| Luminance | 0.3602 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.53
Light Purple
#BF77F6
ΔE00 4.45
Baby Purple
#CA9BF7
ΔE00 5.53
Easter Purple
#C071FE
ΔE00 5.91
Violet (CSS)
#EE82EE
ΔE00 6.57
Pastel Purple
#CAA0FF
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC85F2 #ABF285
analogous
#9585F2 #CC85F2 #F285E1
triadic
#CC85F2 #F2CC85 #85F2CC
tetradic
#CC85F2 #F29585 #ABF285 #85E1F2
square
#CC85F2 #F29585 #ABF285 #85E1F2
split-complementary
#CC85F2 #E1F285 #85F295
monochromatic
#9D18E4 #B54EEC #CC85F2 #E3BCF8 #F3E3FC
Accessibility & contrast
On white
2.56
#CC85F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#CC85F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CC85F2
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC85F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC85F2 | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#81A4EF
Tritanopia (blue-blind)
#C995B0
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #cc85f2; /* rgb */ color: rgb(204, 133, 242); /* oklch */ color: oklch(73.0% 0.168 312.9);
Tailwind
colors: {
custom: {
50: '#ddaaf7',
500: '#cc85f2',
950: '#000000',
},
}SCSS
$custom: #cc85f2; $custom-light: #ddaaf7; $custom-dark: #000000;
JSON
{
"hex": "#cc85f2",
"rgb": {
"r": 204,
"g": 133,
"b": 242
},
"hsl": {
"h": 279.083,
"s": 80.741,
"l": 73.529
},
"oklch": {
"l": 0.7304,
"c": 0.16766,
"h": 312.9
},
"luminance": 0.36023
}Semantic roles & 50–950 ramp
primary
#CC85F2
secondary
#E1F4D7
accent
#DD0853
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85