#CC50F2#CC50F2
#CC50F2 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.1% C 0.245 H 317.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #CC50F2 |
|---|---|
| RGB | rgb(204, 80, 242) |
| HSL | hsl(286, 86%, 63%) |
| HSV | hsv(286, 67%, 95%) |
| CMYK | cmyk(15.7%, 66.9%, 0%, 5.1%) |
| CIE-LAB | lab(57.06, 71.26, -59.26) |
| CIE-LCH | lch(57.06, 92.68, 320.25°) |
| OKLab | oklab(66.1% 0.1798 -0.1663) |
| OKLCH | oklch(66.1% 0.245 317.2) |
| XYZ | xyz(43.7952, 24.9873, 86.5033) |
| Luminance | 0.2498 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.20
Bright Lilac
#C95EFB
ΔE00 2.77
Bright Lavender
#C760FF
ΔE00 3.46
Mediumorchid
#BA55D3
ΔE00 4.85
Pinkish Purple
#D648D7
ΔE00 4.88
Purple Pink
#D725DE
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC50F2 #76F250
analogous
#7B50F2 #CC50F2 #F250C7
triadic
#CC50F2 #F2CC50 #50F2CC
tetradic
#CC50F2 #F27B50 #76F250 #50C7F2
square
#CC50F2 #F27B50 #76F250 #50C7F2
split-complementary
#CC50F2 #C7F250 #50F27B
monochromatic
#910EBA #BB17EE #CC50F2 #DD89F6 #EDC2FA
Accessibility & contrast
On white
3.50
#CC50F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#CC50F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC50F2
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC50F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC50F2 | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#548DEE
Tritanopia (blue-blind)
#CA6F9B
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #cc50f2; /* rgb */ color: rgb(204, 80, 242); /* oklch */ color: oklch(66.1% 0.245 317.2);
Tailwind
colors: {
custom: {
50: '#e08af7',
500: '#cc50f2',
950: '#000000',
},
}SCSS
$custom: #cc50f2; $custom-light: #e08af7; $custom-dark: #000000;
JSON
{
"hex": "#cc50f2",
"rgb": {
"r": 204,
"g": 80,
"b": 242
},
"hsl": {
"h": 285.926,
"s": 86.17,
"l": 63.137
},
"oklch": {
"l": 0.66095,
"c": 0.24493,
"h": 317.2
},
"luminance": 0.24985
}Semantic roles & 50–950 ramp
primary
#CC50F2
secondary
#BFECB2
accent
#E30337
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85