#C173EF#C173EF
#C173EF is a light, vivid violet. Relative luminance 0.298; OKLCH L 69.0% C 0.189 H 311.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #C173EF |
|---|---|
| RGB | rgb(193, 115, 239) |
| HSL | hsl(278, 79%, 69%) |
| HSV | hsv(278, 52%, 94%) |
| CMYK | cmyk(19.2%, 51.9%, 0%, 6.3%) |
| CIE-LAB | lab(61.51, 51.82, -50.59) |
| CIE-LCH | lch(61.51, 72.42, 315.69°) |
| OKLab | oklab(68.99% 0.125 -0.1415) |
| OKLCH | oklch(68.99% 0.189 311.5) |
| XYZ | xyz(43.7002, 29.8318, 85.1007) |
| Luminance | 0.2983 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 1.54
Easter Purple
#C071FE
ΔE00 2.42
Light Urple
#B36FF6
ΔE00 3.38
Bright Lavender
#C760FF
ΔE00 4.25
Bright Lilac
#C95EFB
ΔE00 4.34
Liliac
#C48EFD
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C173EF #A1EF73
analogous
#8373EF #C173EF #EF73DF
triadic
#C173EF #EFC173 #73EFC1
tetradic
#C173EF #EF8373 #A1EF73 #73DFEF
square
#C173EF #EF8373 #A1EF73 #73DFEF
split-complementary
#C173EF #DFEF73 #73EF83
monochromatic
#8C18D0 #A93CE9 #C173EF #D9AAF5 #F2E1FC
Accessibility & contrast
On white
3.01
#C173EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.97
#C173EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C173EF
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C173EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C173EF | 1.00 | 3.01 | 6.97 | 6.97 |
| #FFFFFF | 3.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5291F3
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#BC88A6
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #c173ef; /* rgb */ color: rgb(193, 115, 239); /* oklch */ color: oklch(69.0% 0.189 311.5);
Tailwind
colors: {
custom: {
50: '#d69ef5',
500: '#c173ef',
950: '#000000',
},
}SCSS
$custom: #c173ef; $custom-light: #d69ef5; $custom-dark: #000000;
JSON
{
"hex": "#c173ef",
"rgb": {
"r": 193,
"g": 115,
"b": 239
},
"hsl": {
"h": 277.742,
"s": 79.487,
"l": 69.412
},
"oklch": {
"l": 0.68986,
"c": 0.18877,
"h": 311.5
},
"luminance": 0.29831
}Semantic roles & 50–950 ramp
primary
#C173EF
secondary
#DAF1CD
accent
#DC0A58
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85