#CC4FE2#CC4FE2
#CC4FE2 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.0% C 0.232 H 321.3°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #CC4FE2 |
|---|---|
| RGB | rgb(204, 79, 226) |
| HSL | hsl(291, 72%, 60%) |
| HSV | hsv(291, 65%, 89%) |
| CMYK | cmyk(9.7%, 65%, 0%, 11.4%) |
| CIE-LAB | lab(56.01, 68.70, -51.98) |
| CIE-LCH | lch(56.01, 86.15, 322.89°) |
| OKLab | oklab(65.05% 0.1813 -0.145) |
| OKLCH | oklch(65.05% 0.232 321.3) |
| XYZ | xyz(41.4238, 23.9224, 74.3723) |
| Luminance | 0.2392 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 2.77
Heliotrope
#D94FF5
ΔE00 3.17
Mediumorchid
#BA55D3
ΔE00 3.31
Purple Pink
#D725DE
ΔE00 4.50
Bright Lilac
#C95EFB
ΔE00 4.70
Pink Purple
#EF1DE7
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC4FE2 #65E24F
analogous
#824FE2 #CC4FE2 #E24FAF
triadic
#CC4FE2 #E2CC4F #4FE2CC
tetradic
#CC4FE2 #E2824F #65E24F #4FAFE2
square
#CC4FE2 #E2824F #65E24F #4FAFE2
split-complementary
#CC4FE2 #AFE24F #4FE282
monochromatic
#891A9D #B722D1 #CC4FE2 #DB84EB #EAB8F3
Accessibility & contrast
On white
3.63
#CC4FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#CC4FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC4FE2
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC4FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC4FE2 | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#257DE6
Deuteranopia (green-blind)
#608BDE
Tritanopia (blue-blind)
#CE6892
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #cc4fe2; /* rgb */ color: rgb(204, 79, 226); /* oklch */ color: oklch(65.0% 0.232 321.3);
Tailwind
colors: {
custom: {
50: '#df89ec',
500: '#cc4fe2',
950: '#000000',
},
}SCSS
$custom: #cc4fe2; $custom-light: #df89ec; $custom-dark: #000000;
JSON
{
"hex": "#cc4fe2",
"rgb": {
"r": 204,
"g": 79,
"b": 226
},
"hsl": {
"h": 291.02,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.65046,
"c": 0.23219,
"h": 321.3
},
"luminance": 0.2392
}Semantic roles & 50–950 ramp
primary
#CC4FE2
secondary
#B2E3AA
accent
#EE3954
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84