#C176E8#C176E8
#C176E8 is a light, vivid violet. Relative luminance 0.301; OKLCH L 69.1% C 0.176 H 313.0°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).
Color values
| HEX | #C176E8 |
|---|---|
| RGB | rgb(193, 118, 232) |
| HSL | hsl(279, 71%, 69%) |
| HSV | hsv(279, 49%, 91%) |
| CMYK | cmyk(16.8%, 49.1%, 0%, 9%) |
| CIE-LAB | lab(61.76, 48.77, -46.31) |
| CIE-LCH | lch(61.76, 67.25, 316.48°) |
| OKLab | oklab(69.06% 0.1203 -0.129) |
| OKLCH | oklch(69.06% 0.176 313) |
| XYZ | xyz(43.0338, 30.1215, 79.8754) |
| Luminance | 0.3012 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.45
Easter Purple
#C071FE
ΔE00 3.75
Light Urple
#B36FF6
ΔE00 4.47
Bright Lilac
#C95EFB
ΔE00 5.44
Bright Lavender
#C760FF
ΔE00 5.47
Liliac
#C48EFD
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C176E8 #9DE876
analogous
#8876E8 #C176E8 #E876D6
triadic
#C176E8 #E8C176 #76E8C1
tetradic
#C176E8 #E88876 #9DE876 #76D6E8
square
#C176E8 #E88876 #9DE876 #76D6E8
split-complementary
#C176E8 #D6E876 #76E888
monochromatic
#8B21C3 #A942DF #C176E8 #D9AAF1 #F0DFFA
Accessibility & contrast
On white
2.99
#C176E8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.02
#C176E8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C176E8
7.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C176E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C176E8 | 1.00 | 2.99 | 7.02 | 7.02 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C91EC
Deuteranopia (green-blind)
#7297E5
Tritanopia (blue-blind)
#BD88A4
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #c176e8; /* rgb */ color: rgb(193, 118, 232); /* oklch */ color: oklch(69.1% 0.176 313.0);
Tailwind
colors: {
custom: {
50: '#d6a0f0',
500: '#c176e8',
950: '#000000',
},
}SCSS
$custom: #c176e8; $custom-light: #d6a0f0; $custom-dark: #000000;
JSON
{
"hex": "#c176e8",
"rgb": {
"r": 193,
"g": 118,
"b": 232
},
"hsl": {
"h": 279.474,
"s": 71.25,
"l": 68.627
},
"oklch": {
"l": 0.69057,
"c": 0.1764,
"h": 313
},
"luminance": 0.30121
}Semantic roles & 50–950 ramp
primary
#C176E8
secondary
#D8EECC
accent
#D31254
background
#FDFAFE
surface
#FAF3FD
border
#D3CDD5
text
#150F16
muted
#837F84