#C162FC#C162FC
#C162FC is a light, highly saturated violet. Relative luminance 0.271; OKLCH L 67.4% C 0.227 H 310.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #C162FC |
|---|---|
| RGB | rgb(193, 98, 252) |
| HSL | hsl(277, 96%, 69%) |
| HSV | hsv(277, 61%, 99%) |
| CMYK | cmyk(23.4%, 61.1%, 0%, 1.2%) |
| CIE-LAB | lab(59.07, 63.00, -61.68) |
| CIE-LCH | lch(59.07, 88.17, 315.61°) |
| OKLab | oklab(67.43% 0.1464 -0.1738) |
| OKLCH | oklch(67.43% 0.227 310.1) |
| XYZ | xyz(43.9273, 27.1020, 94.9937) |
| Luminance | 0.2710 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 0.97
Bright Lilac
#C95EFB
ΔE00 1.45
Easter Purple
#C071FE
ΔE00 3.09
Light Urple
#B36FF6
ΔE00 3.29
Light Purple
#BF77F6
ΔE00 4.45
Heliotrope
#D94FF5
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162FC #9DFC62
analogous
#7462FC #C162FC #FC62EA
triadic
#C162FC #FCC162 #62FCC1
tetradic
#C162FC #FC7462 #9DFC62 #62EAFC
square
#C162FC #FC7462 #9DFC62 #62EAFC
split-complementary
#C162FC #EAFC62 #62FC74
monochromatic
#8B04DF #A926FB #C162FC #D99EFD #F0DAFE
Accessibility & contrast
On white
3.27
#C162FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#C162FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162FC
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162FC | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A8AFF
Deuteranopia (green-blind)
#4F90F8
Tritanopia (blue-blind)
#B980A6
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #c162fc; /* rgb */ color: rgb(193, 98, 252); /* oklch */ color: oklch(67.4% 0.227 310.1);
Tailwind
colors: {
custom: {
50: '#d893fe',
500: '#c162fc',
950: '#000000',
},
}SCSS
$custom: #c162fc; $custom-light: #d893fe; $custom-dark: #000000;
JSON
{
"hex": "#c162fc",
"rgb": {
"r": 193,
"g": 98,
"b": 252
},
"hsl": {
"h": 277.013,
"s": 96.25,
"l": 68.627
},
"oklch": {
"l": 0.6743,
"c": 0.22724,
"h": 310.1
},
"luminance": 0.27101
}Semantic roles & 50–950 ramp
primary
#C162FC
secondary
#D8F4C6
accent
#E60058
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86