#C173EB#C173EB
#C173EB is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.8% C 0.184 H 312.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #C173EB |
|---|---|
| RGB | rgb(193, 115, 235) |
| HSL | hsl(279, 75%, 69%) |
| HSV | hsv(279, 51%, 92%) |
| CMYK | cmyk(17.9%, 51.1%, 0%, 7.8%) |
| CIE-LAB | lab(61.31, 50.97, -48.69) |
| CIE-LCH | lch(61.31, 70.49, 316.31°) |
| OKLab | oklab(68.77% 0.1246 -0.136) |
| OKLCH | oklch(68.77% 0.184 312.5) |
| XYZ | xyz(43.1159, 29.5981, 82.0229) |
| Luminance | 0.2960 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.09
Easter Purple
#C071FE
ΔE00 3.06
Light Urple
#B36FF6
ΔE00 3.81
Bright Lilac
#C95EFB
ΔE00 4.59
Bright Lavender
#C760FF
ΔE00 4.60
Heliotrope
#D94FF5
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C173EB #9DEB73
analogous
#8573EB #C173EB #EB73D9
triadic
#C173EB #EBC173 #73EBC1
tetradic
#C173EB #EB8573 #9DEB73 #73D9EB
square
#C173EB #EB8573 #9DEB73 #73D9EB
split-complementary
#C173EB #D9EB73 #73EB85
monochromatic
#8B1CC7 #A93DE3 #C173EB #D9A9F3 #F0DEFA
Accessibility & contrast
On white
3.03
#C173EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#C173EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C173EB
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C173EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C173EB | 1.00 | 3.03 | 6.92 | 6.92 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5590EF
Deuteranopia (green-blind)
#6D96E8
Tritanopia (blue-blind)
#BD87A4
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #c173eb; /* rgb */ color: rgb(193, 115, 235); /* oklch */ color: oklch(68.8% 0.184 312.5);
Tailwind
colors: {
custom: {
50: '#d69ef2',
500: '#c173eb',
950: '#000000',
},
}SCSS
$custom: #c173eb; $custom-light: #d69ef2; $custom-dark: #000000;
JSON
{
"hex": "#c173eb",
"rgb": {
"r": 193,
"g": 115,
"b": 235
},
"hsl": {
"h": 279,
"s": 75,
"l": 68.627
},
"oklch": {
"l": 0.6877,
"c": 0.18443,
"h": 312.5
},
"luminance": 0.29597
}Semantic roles & 50–950 ramp
primary
#C173EB
secondary
#D8EFCB
accent
#D70E55
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E17
muted
#837E85