#C173EC#C173EC
#C173EC is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.8% C 0.186 H 312.2°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #C173EC |
|---|---|
| RGB | rgb(193, 115, 236) |
| HSL | hsl(279, 76%, 69%) |
| HSV | hsv(279, 51%, 93%) |
| CMYK | cmyk(18.2%, 51.3%, 0%, 7.5%) |
| CIE-LAB | lab(61.36, 51.18, -49.17) |
| CIE-LCH | lch(61.36, 70.97, 316.15°) |
| OKLab | oklab(68.82% 0.1247 -0.1373) |
| OKLCH | oklch(68.82% 0.186 312.2) |
| XYZ | xyz(43.2607, 29.6560, 82.7859) |
| Luminance | 0.2965 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.95
Easter Purple
#C071FE
ΔE00 2.90
Light Urple
#B36FF6
ΔE00 3.70
Bright Lavender
#C760FF
ΔE00 4.51
Bright Lilac
#C95EFB
ΔE00 4.52
Heliotrope
#D94FF5
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C173EC #9EEC73
analogous
#8573EC #C173EC #EC73DB
triadic
#C173EC #ECC173 #73ECC1
tetradic
#C173EC #EC8573 #9EEC73 #73DBEC
square
#C173EC #EC8573 #9EEC73 #73DBEC
split-complementary
#C173EC #DBEC73 #73EC85
monochromatic
#8B1BC9 #A93DE5 #C173EC #D9A9F3 #F1DFFB
Accessibility & contrast
On white
3.03
#C173EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.93
#C173EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C173EC
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C173EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C173EC | 1.00 | 3.03 | 6.93 | 6.93 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5590F0
Deuteranopia (green-blind)
#6D96E9
Tritanopia (blue-blind)
#BD87A5
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #c173ec; /* rgb */ color: rgb(193, 115, 236); /* oklch */ color: oklch(68.8% 0.186 312.2);
Tailwind
colors: {
custom: {
50: '#d69ef2',
500: '#c173ec',
950: '#000000',
},
}SCSS
$custom: #c173ec; $custom-light: #d69ef2; $custom-dark: #000000;
JSON
{
"hex": "#c173ec",
"rgb": {
"r": 193,
"g": 115,
"b": 236
},
"hsl": {
"h": 278.678,
"s": 76.101,
"l": 68.824
},
"oklch": {
"l": 0.68823,
"c": 0.18551,
"h": 312.2
},
"luminance": 0.29655
}Semantic roles & 50–950 ramp
primary
#C173EC
secondary
#D8EFCC
accent
#D80D55
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E17
muted
#837E85