#C062F2#C062F2
#C062F2 is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.7% C 0.217 H 312.1°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #C062F2 |
|---|---|
| RGB | rgb(192, 98, 242) |
| HSL | hsl(279, 85%, 67%) |
| HSV | hsv(279, 60%, 95%) |
| CMYK | cmyk(20.7%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(58.37, 60.66, -57.26) |
| CIE-LCH | lch(58.37, 83.42, 316.65°) |
| OKLab | oklab(66.71% 0.1453 -0.1609) |
| OKLCH | oklch(66.71% 0.217 312.1) |
| XYZ | xyz(42.1301, 26.3537, 86.8546) |
| Luminance | 0.2635 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.68
Bright Lavender
#C760FF
ΔE00 1.87
Light Urple
#B36FF6
ΔE00 3.56
Easter Purple
#C071FE
ΔE00 3.66
Heliotrope
#D94FF5
ΔE00 4.36
Light Purple
#BF77F6
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C062F2 #94F262
analogous
#7862F2 #C062F2 #F262DC
triadic
#C062F2 #F2C062 #62F2C0
tetradic
#C062F2 #F27862 #94F262 #62DCF2
square
#C062F2 #F27862 #94F262 #62DCF2
split-complementary
#C062F2 #DCF262 #62F278
monochromatic
#8911C9 #A929ED #C062F2 #D79BF7 #EDD3FB
Accessibility & contrast
On white
3.35
#C062F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#C062F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C062F2
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C062F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C062F2 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E88F7
Deuteranopia (green-blind)
#578EEF
Tritanopia (blue-blind)
#BA7DA1
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c062f2; /* rgb */ color: rgb(192, 98, 242); /* oklch */ color: oklch(66.7% 0.217 312.1);
Tailwind
colors: {
custom: {
50: '#d693f7',
500: '#c062f2',
950: '#000000',
},
}SCSS
$custom: #c062f2; $custom-light: #d693f7; $custom-dark: #000000;
JSON
{
"hex": "#c062f2",
"rgb": {
"r": 192,
"g": 98,
"b": 242
},
"hsl": {
"h": 279.167,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.66712,
"c": 0.21678,
"h": 312.1
},
"luminance": 0.26353
}Semantic roles & 50–950 ramp
primary
#C062F2
secondary
#D1EFC1
accent
#E10451
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85