#C162F1#C162F1
#C162F1 is a light, highly saturated violet. Relative luminance 0.264; OKLCH L 66.8% C 0.216 H 312.7°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #C162F1 |
|---|---|
| RGB | rgb(193, 98, 241) |
| HSL | hsl(280, 84%, 66%) |
| HSV | hsv(280, 59%, 95%) |
| CMYK | cmyk(19.9%, 59.3%, 0%, 5.5%) |
| CIE-LAB | lab(58.44, 60.69, -56.59) |
| CIE-LCH | lch(58.44, 82.98, 317.00°) |
| OKLab | oklab(66.77% 0.1465 -0.1589) |
| OKLCH | oklch(66.77% 0.216 312.7) |
| XYZ | xyz(42.2344, 26.4248, 86.0777) |
| Luminance | 0.2642 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.66
Bright Lavender
#C760FF
ΔE00 1.95
Light Urple
#B36FF6
ΔE00 3.73
Easter Purple
#C071FE
ΔE00 3.74
Heliotrope
#D94FF5
ΔE00 4.19
Light Purple
#BF77F6
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162F1 #92F162
analogous
#7A62F1 #C162F1 #F162DA
triadic
#C162F1 #F1C162 #62F1C1
tetradic
#C162F1 #F17A62 #92F162 #62DAF1
square
#C162F1 #F17A62 #92F162 #62DAF1
split-complementary
#C162F1 #DAF162 #62F17A
monochromatic
#8A12C7 #AB2AEC #C162F1 #D79AF6 #EDD2FB
Accessibility & contrast
On white
3.34
#C162F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.28
#C162F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162F1
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162F1 | 1.00 | 3.34 | 6.28 | 6.28 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3088F6
Deuteranopia (green-blind)
#598FEE
Tritanopia (blue-blind)
#BC7CA1
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c162f1; /* rgb */ color: rgb(193, 98, 241); /* oklch */ color: oklch(66.8% 0.216 312.7);
Tailwind
colors: {
custom: {
50: '#d793f6',
500: '#c162f1',
950: '#000000',
},
}SCSS
$custom: #c162f1; $custom-light: #d793f6; $custom-dark: #000000;
JSON
{
"hex": "#c162f1",
"rgb": {
"r": 193,
"g": 98,
"b": 241
},
"hsl": {
"h": 279.86,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.66769,
"c": 0.21612,
"h": 312.7
},
"luminance": 0.26424
}Semantic roles & 50–950 ramp
primary
#C162F1
secondary
#D0EFC0
accent
#E0054F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85