#C178F7#C178F7
#C178F7 is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.2% C 0.190 H 308.8°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #C178F7 |
|---|---|
| RGB | rgb(193, 120, 247) |
| HSL | hsl(274, 89%, 72%) |
| HSV | hsv(274, 51%, 97%) |
| CMYK | cmyk(21.9%, 51.4%, 0%, 3.1%) |
| CIE-LAB | lab(62.92, 50.96, -52.78) |
| CIE-LCH | lch(62.92, 73.37, 314.00°) |
| OKLab | oklab(70.16% 0.1191 -0.1479) |
| OKLCH | oklch(70.16% 0.19 308.8) |
| XYZ | xyz(45.4940, 31.4865, 91.6585) |
| Luminance | 0.3149 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.43
Easter Purple
#C071FE
ΔE00 1.94
Light Urple
#B36FF6
ΔE00 3.43
Bright Lavender
#C760FF
ΔE00 4.89
Bright Lilac
#C95EFB
ΔE00 5.20
Liliac
#C48EFD
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C178F7 #AEF778
analogous
#8278F7 #C178F7 #F778EE
triadic
#C178F7 #F7C178 #78F7C1
tetradic
#C178F7 #F78278 #AEF778 #78EEF7
square
#C178F7 #F78278 #AEF778 #78EEF7
split-complementary
#C178F7 #EEF778 #78F782
monochromatic
#8B0EE7 #A63EF4 #C178F7 #DCB2FA #F2E2FD
Accessibility & contrast
On white
2.88
#C178F7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#C178F7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C178F7
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C178F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C178F7 | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5495FB
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#BA8EAC
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #c178f7; /* rgb */ color: rgb(193, 120, 247); /* oklch */ color: oklch(70.2% 0.190 308.8);
Tailwind
colors: {
custom: {
50: '#d6a1fa',
500: '#c178f7',
950: '#000000',
},
}SCSS
$custom: #c178f7; $custom-light: #d6a1fa; $custom-dark: #000000;
JSON
{
"hex": "#c178f7",
"rgb": {
"r": 193,
"g": 120,
"b": 247
},
"hsl": {
"h": 274.488,
"s": 88.811,
"l": 71.961
},
"oklch": {
"l": 0.70159,
"c": 0.18987,
"h": 308.8
},
"luminance": 0.31486
}Semantic roles & 50–950 ramp
primary
#C178F7
secondary
#E3F5D5
accent
#E50062
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85