#C173EA#C173EA
#C173EA is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.7% C 0.183 H 312.8°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #C173EA |
|---|---|
| RGB | rgb(193, 115, 234) |
| HSL | hsl(279, 74%, 68%) |
| HSV | hsv(279, 51%, 92%) |
| CMYK | cmyk(17.5%, 50.9%, 0%, 8.2%) |
| CIE-LAB | lab(61.26, 50.75, -48.22) |
| CIE-LCH | lch(61.26, 70.01, 316.47°) |
| OKLab | oklab(68.72% 0.1245 -0.1346) |
| OKLCH | oklch(68.72% 0.183 312.8) |
| XYZ | xyz(42.9718, 29.5404, 81.2641) |
| Luminance | 0.2954 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.24
Easter Purple
#C071FE
ΔE00 3.22
Light Urple
#B36FF6
ΔE00 3.93
Bright Lilac
#C95EFB
ΔE00 4.67
Bright Lavender
#C760FF
ΔE00 4.70
Heliotrope
#D94FF5
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C173EA #9CEA73
analogous
#8573EA #C173EA #EA73D7
triadic
#C173EA #EAC173 #73EAC1
tetradic
#C173EA #EA8573 #9CEA73 #73D7EA
square
#C173EA #EA8573 #9CEA73 #73D7EA
split-complementary
#C173EA #D7EA73 #73EA85
monochromatic
#8B1EC5 #A93EE2 #C173EA #D9A8F2 #F0DDFA
Accessibility & contrast
On white
3.04
#C173EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.91
#C173EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C173EA
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C173EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C173EA | 1.00 | 3.04 | 6.91 | 6.91 |
| #FFFFFF | 3.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5690EE
Deuteranopia (green-blind)
#6E96E7
Tritanopia (blue-blind)
#BD86A4
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #c173ea; /* rgb */ color: rgb(193, 115, 234); /* oklch */ color: oklch(68.7% 0.183 312.8);
Tailwind
colors: {
custom: {
50: '#d69ef1',
500: '#c173ea',
950: '#000000',
},
}SCSS
$custom: #c173ea; $custom-light: #d69ef1; $custom-dark: #000000;
JSON
{
"hex": "#c173ea",
"rgb": {
"r": 193,
"g": 115,
"b": 234
},
"hsl": {
"h": 279.328,
"s": 73.913,
"l": 68.431
},
"oklch": {
"l": 0.68716,
"c": 0.18334,
"h": 312.8
},
"luminance": 0.29539
}Semantic roles & 50–950 ramp
primary
#C173EA
secondary
#D7EECA
accent
#D60F54
background
#FDF9FE
surface
#FAF2FD
border
#D3CCD5
text
#150E17
muted
#837E85