#C173FD#C173FD
#C173FD is a light, highly saturated violet. Relative luminance 0.307; OKLCH L 69.8% C 0.204 H 308.1°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #C173FD |
|---|---|
| RGB | rgb(193, 115, 253) |
| HSL | hsl(274, 97%, 72%) |
| HSV | hsv(274, 55%, 99%) |
| CMYK | cmyk(23.7%, 54.5%, 0%, 0.8%) |
| CIE-LAB | lab(62.25, 54.87, -57.15) |
| CIE-LCH | lch(62.25, 79.22, 313.83°) |
| OKLab | oklab(69.77% 0.1259 -0.1606) |
| OKLCH | oklch(69.77% 0.204 308.1) |
| XYZ | xyz(45.8491, 30.6914, 96.4181) |
| Luminance | 0.3069 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 0.53
Light Purple
#BF77F6
ΔE00 1.33
Light Urple
#B36FF6
ΔE00 2.71
Bright Lavender
#C760FF
ΔE00 3.72
Bright Lilac
#C95EFB
ΔE00 4.19
Liliac
#C48EFD
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C173FD #AFFD73
analogous
#7C73FD #C173FD #FD73F4
triadic
#C173FD #FDC173 #73FDC1
tetradic
#C173FD #FD7C73 #AFFD73 #73F4FD
square
#C173FD #FD7C73 #AFFD73 #73F4FD
split-complementary
#C173FD #F4FD73 #73FD7C
monochromatic
#8A03F2 #A637FC #C173FD #DCAFFE #F2E1FF
Accessibility & contrast
On white
2.94
#C173FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.14
#C173FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C173FD
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C173FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C173FD | 1.00 | 2.94 | 7.14 | 7.14 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#6197FA
Tritanopia (blue-blind)
#B88CAD
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #c173fd; /* rgb */ color: rgb(193, 115, 253); /* oklch */ color: oklch(69.8% 0.204 308.1);
Tailwind
colors: {
custom: {
50: '#d79eff',
500: '#c173fd',
950: '#000000',
},
}SCSS
$custom: #c173fd; $custom-light: #d79eff; $custom-dark: #000000;
JSON
{
"hex": "#c173fd",
"rgb": {
"r": 193,
"g": 115,
"b": 253
},
"hsl": {
"h": 273.913,
"s": 97.183,
"l": 72.157
},
"oklch": {
"l": 0.69768,
"c": 0.20407,
"h": 308.1
},
"luminance": 0.30691
}Semantic roles & 50–950 ramp
primary
#C173FD
secondary
#E3F7D4
accent
#E60064
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86