#C178F9#C178F9
#C178F9 is a light, vivid violet. Relative luminance 0.316; OKLCH L 70.3% C 0.192 H 308.4°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #C178F9 |
|---|---|
| RGB | rgb(193, 120, 249) |
| HSL | hsl(274, 91%, 72%) |
| HSV | hsv(274, 52%, 98%) |
| CMYK | cmyk(22.5%, 51.8%, 0%, 2.4%) |
| CIE-LAB | lab(63.02, 51.40, -53.72) |
| CIE-LCH | lch(63.02, 74.35, 313.74°) |
| OKLab | oklab(70.27% 0.1193 -0.1506) |
| OKLCH | oklch(70.27% 0.192 308.4) |
| XYZ | xyz(45.8043, 31.6106, 93.2926) |
| Luminance | 0.3161 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.54
Easter Purple
#C071FE
ΔE00 1.78
Light Urple
#B36FF6
ΔE00 3.37
Bright Lavender
#C760FF
ΔE00 4.84
Bright Lilac
#C95EFB
ΔE00 5.20
Liliac
#C48EFD
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C178F9 #B0F978
analogous
#8078F9 #C178F9 #F978F1
triadic
#C178F9 #F9C178 #78F9C1
tetradic
#C178F9 #F98078 #B0F978 #78F1F9
square
#C178F9 #F98078 #B0F978 #78F1F9
split-complementary
#C178F9 #F1F978 #78F980
monochromatic
#8A0AEC #A63DF6 #C178F9 #DCB3FC #F2E2FE
Accessibility & contrast
On white
2.87
#C178F9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#C178F9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C178F9
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C178F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C178F9 | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5295FD
Deuteranopia (green-blind)
#6999F6
Tritanopia (blue-blind)
#B98FAD
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #c178f9; /* rgb */ color: rgb(193, 120, 249); /* oklch */ color: oklch(70.3% 0.192 308.4);
Tailwind
colors: {
custom: {
50: '#d6a1fc',
500: '#c178f9',
950: '#000000',
},
}SCSS
$custom: #c178f9; $custom-light: #d6a1fc; $custom-dark: #000000;
JSON
{
"hex": "#c178f9",
"rgb": {
"r": 193,
"g": 120,
"b": 249
},
"hsl": {
"h": 273.953,
"s": 91.489,
"l": 72.353
},
"oklch": {
"l": 0.70269,
"c": 0.19211,
"h": 308.4
},
"luminance": 0.3161
}Semantic roles & 50–950 ramp
primary
#C178F9
secondary
#E3F6D5
accent
#E60064
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85