#C162FD#C162FD
#C162FD is a light, highly saturated violet. Relative luminance 0.272; OKLCH L 67.5% C 0.228 H 309.9°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #C162FD |
|---|---|
| RGB | rgb(193, 98, 253) |
| HSL | hsl(277, 97%, 69%) |
| HSV | hsv(277, 61%, 99%) |
| CMYK | cmyk(23.7%, 61.3%, 0%, 0.8%) |
| CIE-LAB | lab(59.13, 63.22, -62.14) |
| CIE-LCH | lch(59.13, 88.64, 315.49°) |
| OKLab | oklab(67.49% 0.1464 -0.1752) |
| OKLCH | oklch(67.49% 0.228 309.9) |
| XYZ | xyz(44.0862, 27.1655, 95.8305) |
| Luminance | 0.2717 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bright Lavender
#C760FF
ΔE00 0.97
Bright Lilac
#C95EFB
ΔE00 1.51
Easter Purple
#C071FE
ΔE00 3.06
Light Urple
#B36FF6
ΔE00 3.29
Light Purple
#BF77F6
ΔE00 4.46
Heliotrope
#D94FF5
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C162FD #9EFD62
analogous
#7462FD #C162FD #FD62EC
triadic
#C162FD #FDC162 #62FDC1
tetradic
#C162FD #FD7462 #9EFD62 #62ECFD
square
#C162FD #FD7462 #9EFD62 #62ECFD
split-complementary
#C162FD #ECFD62 #62FD74
monochromatic
#8B03E2 #A926FC #C162FD #D99EFE #F1DBFF
Accessibility & contrast
On white
3.26
#C162FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.43
#C162FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C162FD
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C162FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C162FD | 1.00 | 3.26 | 6.43 | 6.43 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#178AFF
Deuteranopia (green-blind)
#4E90F9
Tritanopia (blue-blind)
#B980A7
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #c162fd; /* rgb */ color: rgb(193, 98, 253); /* oklch */ color: oklch(67.5% 0.228 309.9);
Tailwind
colors: {
custom: {
50: '#d893ff',
500: '#c162fd',
950: '#000000',
},
}SCSS
$custom: #c162fd; $custom-light: #d893ff; $custom-dark: #000000;
JSON
{
"hex": "#c162fd",
"rgb": {
"r": 193,
"g": 98,
"b": 253
},
"hsl": {
"h": 276.774,
"s": 97.484,
"l": 68.824
},
"oklch": {
"l": 0.67491,
"c": 0.22825,
"h": 309.9
},
"luminance": 0.27165
}Semantic roles & 50–950 ramp
primary
#C162FD
secondary
#D8F4C6
accent
#E60059
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150D18
muted
#837E86