#C173FE#C173FE
#C173FE is a light, highly saturated violet. Relative luminance 0.308; OKLCH L 69.8% C 0.205 H 307.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #C173FE |
|---|---|
| RGB | rgb(193, 115, 254) |
| HSL | hsl(274, 99%, 72%) |
| HSV | hsv(274, 55%, 100%) |
| CMYK | cmyk(24%, 54.7%, 0%, 0.4%) |
| CIE-LAB | lab(62.30, 55.09, -57.61) |
| CIE-LCH | lch(62.30, 79.71, 313.72°) |
| OKLab | oklab(69.83% 0.1259 -0.162) |
| OKLCH | oklch(69.83% 0.205 307.9) |
| XYZ | xyz(46.0088, 30.7553, 97.2593) |
| Luminance | 0.3075 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 0.49
Light Purple
#BF77F6
ΔE00 1.43
Light Urple
#B36FF6
ΔE00 2.72
Bright Lavender
#C760FF
ΔE00 3.73
Bright Lilac
#C95EFB
ΔE00 4.22
Liliac
#C48EFD
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C173FE #B0FE73
analogous
#7B73FE #C173FE #FE73F6
triadic
#C173FE #FEC173 #73FEC1
tetradic
#C173FE #FE7B73 #B0FE73 #73F6FE
square
#C173FE #FE7B73 #B0FE73 #73F6FE
split-complementary
#C173FE #F6FE73 #73FE7B
monochromatic
#8A02F5 #A636FE #C173FE #DCB0FE #F2E1FF
Accessibility & contrast
On white
2.94
#C173FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#C173FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C173FE
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C173FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C173FE | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4494FF
Deuteranopia (green-blind)
#6097FB
Tritanopia (blue-blind)
#B88CAE
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c173fe; /* rgb */ color: rgb(193, 115, 254); /* oklch */ color: oklch(69.8% 0.205 307.9);
Tailwind
colors: {
custom: {
50: '#d79eff',
500: '#c173fe',
950: '#000000',
},
}SCSS
$custom: #c173fe; $custom-light: #d79eff; $custom-dark: #000000;
JSON
{
"hex": "#c173fe",
"rgb": {
"r": 193,
"g": 115,
"b": 254
},
"hsl": {
"h": 273.669,
"s": 98.582,
"l": 72.353
},
"oklch": {
"l": 0.69825,
"c": 0.20515,
"h": 307.9
},
"luminance": 0.30755
}Semantic roles & 50–950 ramp
primary
#C173FE
secondary
#E3F7D4
accent
#E60065
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86