#C161F2#C161F2
#C161F2 is a light, highly saturated violet. Relative luminance 0.263; OKLCH L 66.7% C 0.219 H 312.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #C161F2 |
|---|---|
| RGB | rgb(193, 97, 242) |
| HSL | hsl(280, 85%, 66%) |
| HSV | hsv(280, 60%, 95%) |
| CMYK | cmyk(20.2%, 59.9%, 0%, 5.1%) |
| CIE-LAB | lab(58.32, 61.37, -57.33) |
| CIE-LCH | lch(58.32, 83.99, 316.95°) |
| OKLab | oklab(66.7% 0.1477 -0.1611) |
| OKLCH | oklch(66.7% 0.219 312.5) |
| XYZ | xyz(42.2912, 26.2987, 86.8355) |
| Luminance | 0.2630 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lilac
#C95EFB
ΔE00 1.56
Bright Lavender
#C760FF
ΔE00 1.84
Light Urple
#B36FF6
ΔE00 3.79
Easter Purple
#C071FE
ΔE00 3.83
Heliotrope
#D94FF5
ΔE00 4.14
Light Purple
#BF77F6
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C161F2 #92F261
analogous
#7961F2 #C161F2 #F261DB
triadic
#C161F2 #F2C161 #61F2C1
tetradic
#C161F2 #F27961 #92F261 #61DBF2
square
#C161F2 #F27961 #92F261 #61DBF2
split-complementary
#C161F2 #DBF261 #61F279
monochromatic
#8A10C8 #AB28ED #C161F2 #D79AF7 #EDD2FB
Accessibility & contrast
On white
3.35
#C161F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#C161F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C161F2
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C161F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C161F2 | 1.00 | 3.35 | 6.26 | 6.26 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C87F7
Deuteranopia (green-blind)
#578EEF
Tritanopia (blue-blind)
#BC7CA1
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #c161f2; /* rgb */ color: rgb(193, 97, 242); /* oklch */ color: oklch(66.7% 0.219 312.5);
Tailwind
colors: {
custom: {
50: '#d793f7',
500: '#c161f2',
950: '#000000',
},
}SCSS
$custom: #c161f2; $custom-light: #d793f7; $custom-dark: #000000;
JSON
{
"hex": "#c161f2",
"rgb": {
"r": 193,
"g": 97,
"b": 242
},
"hsl": {
"h": 279.724,
"s": 84.795,
"l": 66.471
},
"oklch": {
"l": 0.66701,
"c": 0.21854,
"h": 312.5
},
"luminance": 0.26298
}Semantic roles & 50–950 ramp
primary
#C161F2
secondary
#D0EFC0
accent
#E1044F
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D17
muted
#837E85