#C176F5#C176F5
#C176F5 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.8% C 0.191 H 309.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #C176F5 |
|---|---|
| RGB | rgb(193, 118, 245) |
| HSL | hsl(275, 86%, 71%) |
| HSV | hsv(275, 52%, 96%) |
| CMYK | cmyk(21.2%, 51.8%, 0%, 3.9%) |
| CIE-LAB | lab(62.41, 51.57, -52.48) |
| CIE-LCH | lch(62.41, 73.57, 314.50°) |
| OKLab | oklab(69.75% 0.1215 -0.147) |
| OKLCH | oklch(69.75% 0.191 309.6) |
| XYZ | xyz(44.9491, 30.8876, 89.9625) |
| Luminance | 0.3089 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.50
Easter Purple
#C071FE
ΔE00 1.83
Light Urple
#B36FF6
ΔE00 3.24
Bright Lavender
#C760FF
ΔE00 4.52
Bright Lilac
#C95EFB
ΔE00 4.78
Liliac
#C48EFD
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C176F5 #AAF576
analogous
#8176F5 #C176F5 #F576EA
triadic
#C176F5 #F5C176 #76F5C1
tetradic
#C176F5 #F58176 #AAF576 #76EAF5
square
#C176F5 #F58176 #AAF576 #76EAF5
split-complementary
#C176F5 #EAF576 #76F581
monochromatic
#8B10E0 #A73DF1 #C176F5 #DBAFF9 #F2E2FD
Accessibility & contrast
On white
2.93
#C176F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#C176F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C176F5
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C176F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C176F5 | 1.00 | 2.93 | 7.18 | 7.18 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5294F9
Deuteranopia (green-blind)
#6A98F2
Tritanopia (blue-blind)
#BA8CAB
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c176f5; /* rgb */ color: rgb(193, 118, 245); /* oklch */ color: oklch(69.8% 0.191 309.6);
Tailwind
colors: {
custom: {
50: '#d6a0f9',
500: '#c176f5',
950: '#000000',
},
}SCSS
$custom: #c176f5; $custom-light: #d6a0f9; $custom-dark: #000000;
JSON
{
"hex": "#c176f5",
"rgb": {
"r": 193,
"g": 118,
"b": 245
},
"hsl": {
"h": 275.433,
"s": 86.395,
"l": 71.176
},
"oklch": {
"l": 0.69753,
"c": 0.19073,
"h": 309.6
},
"luminance": 0.30887
}Semantic roles & 50–950 ramp
primary
#C176F5
secondary
#E0F4D3
accent
#E3035E
background
#FDFAFF
surface
#FBF3FF
border
#D4CDD7
text
#150F17
muted
#837F85