#C162FF#C162FF
#C162FF is a light, highly saturated violet. Relative luminance 0.273; OKLCH L 67.6% C 0.230 H 309.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #C162FF |
|---|---|
| RGB | rgb(193, 98, 255) |
| HSL | hsl(276, 100%, 69%) |
| HSV | hsv(276, 62%, 100%) |
| CMYK | cmyk(24.3%, 61.6%, 0%, 0%) |
| CIE-LAB | lab(59.25, 63.64, -63.05) |
| CIE-LCH | lch(59.25, 89.59, 315.27°) |
| OKLab | oklab(67.61% 0.1463 -0.1778) |
| OKLCH | oklch(67.61% 0.23 309.4) |
| XYZ | xyz(44.4065, 27.2936, 97.5172) |
| Luminance | 0.2729 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 1.02
Bright Lilac
#C95EFB
ΔE00 1.66
Easter Purple
#C071FE
ΔE00 3.03
Light Urple
#B36FF6
ΔE00 3.30
Light Purple
#BF77F6
ΔE00 4.50
Heliotrope
#D94FF5
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162FF #A0FF62
analogous
#7362FF #C162FF #FF62EE
triadic
#C162FF #FFC162 #62FFC1
tetradic
#C162FF #FF7362 #A0FF62 #62EEFF
square
#C162FF #FF7362 #A0FF62 #62EEFF
split-complementary
#C162FF #EEFF62 #62FF73
monochromatic
#8C00E7 #A925FF #C162FF #D99FFF #F1DCFF
Accessibility & contrast
On white
3.25
#C162FF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#C162FF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162FF
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162FF | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F8BFF
Deuteranopia (green-blind)
#4C90FB
Tritanopia (blue-blind)
#B881A8
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #c162ff; /* rgb */ color: rgb(193, 98, 255); /* oklch */ color: oklch(67.6% 0.230 309.4);
Tailwind
colors: {
custom: {
50: '#d894ff',
500: '#c162ff',
950: '#000000',
},
}SCSS
$custom: #c162ff; $custom-light: #d894ff; $custom-dark: #000000;
JSON
{
"hex": "#c162ff",
"rgb": {
"r": 193,
"g": 98,
"b": 255
},
"hsl": {
"h": 276.306,
"s": 100,
"l": 69.216
},
"oklch": {
"l": 0.67614,
"c": 0.23028,
"h": 309.4
},
"luminance": 0.27293
}Semantic roles & 50–950 ramp
primary
#C162FF
secondary
#DAF5C8
accent
#E6005B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86