#C062E4#C062E4
#C062E4 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 65.9% C 0.203 H 315.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #C062E4 |
|---|---|
| RGB | rgb(192, 98, 228) |
| HSL | hsl(283, 71%, 64%) |
| HSV | hsv(283, 57%, 89%) |
| CMYK | cmyk(15.8%, 57%, 0%, 10.6%) |
| CIE-LAB | lab(57.60, 57.78, -50.67) |
| CIE-LCH | lch(57.60, 76.85, 318.75°) |
| OKLab | oklab(65.9% 0.145 -0.1416) |
| OKLCH | oklch(65.9% 0.203 315.7) |
| XYZ | xyz(40.1073, 25.5446, 76.2016) |
| Luminance | 0.2554 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 3.29
Bright Lavender
#C760FF
ΔE00 3.80
Mediumorchid
#BA55D3
ΔE00 4.04
Heliotrope
#D94FF5
ΔE00 4.42
Light Urple
#B36FF6
ΔE00 4.91
Easter Purple
#C071FE
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C062E4 #86E462
analogous
#7F62E4 #C062E4 #E462C7
triadic
#C062E4 #E4C062 #62E4C0
tetradic
#C062E4 #E47F62 #86E462 #62C7E4
square
#C062E4 #E47F62 #86E462 #62C7E4
split-complementary
#C062E4 #C7E462 #62E47F
monochromatic
#861EAE #AB2EDB #C062E4 #D596ED #EACAF6
Accessibility & contrast
On white
3.44
#C062E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#C062E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C062E4
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C062E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C062E4 | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F85E8
Deuteranopia (green-blind)
#628DE1
Tritanopia (blue-blind)
#BE789A
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #c062e4; /* rgb */ color: rgb(192, 98, 228); /* oklch */ color: oklch(65.9% 0.203 315.7);
Tailwind
colors: {
custom: {
50: '#d693ed',
500: '#c062e4',
950: '#000000',
},
}SCSS
$custom: #c062e4; $custom-light: #d693ed; $custom-dark: #000000;
JSON
{
"hex": "#c062e4",
"rgb": {
"r": 192,
"g": 98,
"b": 228
},
"hsl": {
"h": 283.385,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.65903,
"c": 0.20266,
"h": 315.7
},
"luminance": 0.25543
}Semantic roles & 50–950 ramp
primary
#C062E4
secondary
#C7E8BA
accent
#D31348
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84