#C173FB#C173FB
#C173FB is a light, highly saturated violet. Relative luminance 0.306; OKLCH L 69.7% C 0.202 H 308.5°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #C173FB |
|---|---|
| RGB | rgb(193, 115, 251) |
| HSL | hsl(274, 94%, 72%) |
| HSV | hsv(274, 54%, 98%) |
| CMYK | cmyk(23.1%, 54.2%, 0%, 1.6%) |
| CIE-LAB | lab(62.14, 54.42, -56.22) |
| CIE-LCH | lch(62.14, 78.25, 314.07°) |
| OKLab | oklab(69.65% 0.1258 -0.1579) |
| OKLCH | oklch(69.65% 0.202 308.5) |
| XYZ | xyz(45.5322, 30.5646, 94.7490) |
| Luminance | 0.3056 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Easter Purple
#C071FE
ΔE00 0.70
Light Purple
#BF77F6
ΔE00 1.14
Light Urple
#B36FF6
ΔE00 2.70
Bright Lavender
#C760FF
ΔE00 3.72
Bright Lilac
#C95EFB
ΔE00 4.14
Liliac
#C48EFD
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C173FB #ADFB73
analogous
#7D73FB #C173FB #FB73F1
triadic
#C173FB #FBC173 #73FBC1
tetradic
#C173FB #FB7D73 #ADFB73 #73F1FB
square
#C173FB #FB7D73 #ADFB73 #73F1FB
split-complementary
#C173FB #F1FB73 #73FB7D
monochromatic
#8B07ED #A738F9 #C173FB #DBAFFD #F2E1FE
Accessibility & contrast
On white
2.95
#C173FB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#C173FB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C173FB
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C173FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C173FB | 1.00 | 2.95 | 7.11 | 7.11 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4893FF
Deuteranopia (green-blind)
#6397F8
Tritanopia (blue-blind)
#B98BAC
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #c173fb; /* rgb */ color: rgb(193, 115, 251); /* oklch */ color: oklch(69.7% 0.202 308.5);
Tailwind
colors: {
custom: {
50: '#d79efd',
500: '#c173fb',
950: '#000000',
},
}SCSS
$custom: #c173fb; $custom-light: #d79efd; $custom-dark: #000000;
JSON
{
"hex": "#c173fb",
"rgb": {
"r": 193,
"g": 115,
"b": 251
},
"hsl": {
"h": 274.412,
"s": 94.444,
"l": 71.765
},
"oklch": {
"l": 0.69654,
"c": 0.20188,
"h": 308.5
},
"luminance": 0.30564
}Semantic roles & 50–950 ramp
primary
#C173FB
secondary
#E2F6D4
accent
#E60062
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F18
muted
#837E86