#C173F5#C173F5
#C173F5 is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.3% C 0.195 H 310.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #C173F5 |
|---|---|
| RGB | rgb(193, 115, 245) |
| HSL | hsl(276, 87%, 71%) |
| HSV | hsv(276, 53%, 96%) |
| CMYK | cmyk(21.2%, 53.1%, 0%, 3.9%) |
| CIE-LAB | lab(61.82, 53.11, -53.42) |
| CIE-LCH | lch(61.82, 75.33, 314.84°) |
| OKLab | oklab(69.32% 0.1254 -0.1497) |
| OKLCH | oklch(69.32% 0.195 310) |
| XYZ | xyz(44.6014, 30.1923, 89.8466) |
| Luminance | 0.3019 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.98
Easter Purple
#C071FE
ΔE00 1.50
Light Urple
#B36FF6
ΔE00 2.90
Bright Lavender
#C760FF
ΔE00 3.88
Bright Lilac
#C95EFB
ΔE00 4.13
Liliac
#C48EFD
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C173F5 #A7F573
analogous
#8073F5 #C173F5 #F573E8
triadic
#C173F5 #F5C173 #73F5C1
tetradic
#C173F5 #F58073 #A7F573 #73E8F5
square
#C173F5 #F58073 #A7F573 #73E8F5
split-complementary
#C173F5 #E8F573 #73F580
monochromatic
#8B10DE #A83AF1 #C173F5 #DAACF9 #F2E2FD
Accessibility & contrast
On white
2.98
#C173F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.04
#C173F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C173F5
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C173F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C173F5 | 1.00 | 2.98 | 7.04 | 7.04 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D92F9
Deuteranopia (green-blind)
#6797F2
Tritanopia (blue-blind)
#BA8AA9
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #c173f5; /* rgb */ color: rgb(193, 115, 245); /* oklch */ color: oklch(69.3% 0.195 310.0);
Tailwind
colors: {
custom: {
50: '#d69ef9',
500: '#c173f5',
950: '#000000',
},
}SCSS
$custom: #c173f5; $custom-light: #d69ef9; $custom-dark: #000000;
JSON
{
"hex": "#c173f5",
"rgb": {
"r": 193,
"g": 115,
"b": 245
},
"hsl": {
"h": 276,
"s": 86.667,
"l": 70.588
},
"oklch": {
"l": 0.69316,
"c": 0.19532,
"h": 310
},
"luminance": 0.30191
}Semantic roles & 50–950 ramp
primary
#C173F5
secondary
#DEF4D0
accent
#E3025C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85