#C173FC#C173FC
#C173FC is a light, highly saturated violet. Relative luminance 0.306; OKLCH L 69.7% C 0.203 H 308.3°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #C173FC |
|---|---|
| RGB | rgb(193, 115, 252) |
| HSL | hsl(274, 96%, 72%) |
| HSV | hsv(274, 54%, 99%) |
| CMYK | cmyk(23.4%, 54.4%, 0%, 1.2%) |
| CIE-LAB | lab(62.19, 54.65, -56.69) |
| CIE-LCH | lch(62.19, 78.74, 313.95°) |
| OKLab | oklab(69.71% 0.1258 -0.1593) |
| OKLCH | oklch(69.71% 0.203 308.3) |
| XYZ | xyz(45.6903, 30.6278, 95.5814) |
| Luminance | 0.3063 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 0.60
Light Purple
#BF77F6
ΔE00 1.23
Light Urple
#B36FF6
ΔE00 2.70
Bright Lavender
#C760FF
ΔE00 3.72
Bright Lilac
#C95EFB
ΔE00 4.16
Liliac
#C48EFD
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C173FC #AEFC73
analogous
#7D73FC #C173FC #FC73F2
triadic
#C173FC #FCC173 #73FCC1
tetradic
#C173FC #FC7D73 #AEFC73 #73F2FC
square
#C173FC #FC7D73 #AEFC73 #73F2FC
split-complementary
#C173FC #F2FC73 #73FC7D
monochromatic
#8B05EF #A637FB #C173FC #DCAFFD #F2E1FE
Accessibility & contrast
On white
2.95
#C173FC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#C173FC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C173FC
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C173FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C173FC | 1.00 | 2.95 | 7.13 | 7.13 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4793FF
Deuteranopia (green-blind)
#6297F9
Tritanopia (blue-blind)
#B98CAD
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #c173fc; /* rgb */ color: rgb(193, 115, 252); /* oklch */ color: oklch(69.7% 0.203 308.3);
Tailwind
colors: {
custom: {
50: '#d79efe',
500: '#c173fc',
950: '#000000',
},
}SCSS
$custom: #c173fc; $custom-light: #d79efe; $custom-dark: #000000;
JSON
{
"hex": "#c173fc",
"rgb": {
"r": 193,
"g": 115,
"b": 252
},
"hsl": {
"h": 274.161,
"s": 95.804,
"l": 71.961
},
"oklch": {
"l": 0.69711,
"c": 0.20297,
"h": 308.3
},
"luminance": 0.30627
}Semantic roles & 50–950 ramp
primary
#C173FC
secondary
#E3F7D4
accent
#E60063
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86