#C062F8#C062F8
#C062F8 is a light, highly saturated violet. Relative luminance 0.267; OKLCH L 67.1% C 0.223 H 310.7°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #C062F8 |
|---|---|
| RGB | rgb(192, 98, 248) |
| HSL | hsl(278, 91%, 68%) |
| HSV | hsv(278, 60%, 97%) |
| CMYK | cmyk(22.6%, 60.5%, 0%, 2.7%) |
| CIE-LAB | lab(58.71, 61.93, -60.04) |
| CIE-LCH | lch(58.71, 86.25, 315.89°) |
| OKLab | oklab(67.07% 0.1452 -0.169) |
| OKLCH | oklch(67.07% 0.223 310.7) |
| XYZ | xyz(43.0460, 26.7201, 91.6786) |
| Luminance | 0.2672 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.29
Bright Lilac
#C95EFB
ΔE00 1.48
Easter Purple
#C071FE
ΔE00 3.27
Light Urple
#B36FF6
ΔE00 3.28
Light Purple
#BF77F6
ΔE00 4.47
Heliotrope
#D94FF5
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C062F8 #9AF862
analogous
#7562F8 #C062F8 #F862E5
triadic
#C062F8 #F8C062 #62F8C0
tetradic
#C062F8 #F87562 #9AF862 #62E5F8
square
#C062F8 #F87562 #9AF862 #62E5F8
split-complementary
#C062F8 #E5F862 #62F875
monochromatic
#8A0AD6 #A827F5 #C062F8 #D89DFB #EFD7FD
Accessibility & contrast
On white
3.31
#C062F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#C062F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C062F8
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C062F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C062F8 | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2389FD
Deuteranopia (green-blind)
#528FF4
Tritanopia (blue-blind)
#B97FA4
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #c062f8; /* rgb */ color: rgb(192, 98, 248); /* oklch */ color: oklch(67.1% 0.223 310.7);
Tailwind
colors: {
custom: {
50: '#d793fb',
500: '#c062f8',
950: '#000000',
},
}SCSS
$custom: #c062f8; $custom-light: #d793fb; $custom-dark: #000000;
JSON
{
"hex": "#c062f8",
"rgb": {
"r": 192,
"g": 98,
"b": 248
},
"hsl": {
"h": 277.6,
"s": 91.463,
"l": 67.843
},
"oklch": {
"l": 0.67072,
"c": 0.22286,
"h": 310.7
},
"luminance": 0.26719
}Semantic roles & 50–950 ramp
primary
#C062F8
secondary
#D5F2C4
accent
#E60056
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85