#C178F6#C178F6
#C178F6 is a light, vivid violet. Relative luminance 0.314; OKLCH L 70.1% C 0.189 H 309.1°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #C178F6 |
|---|---|
| RGB | rgb(193, 120, 246) |
| HSL | hsl(275, 88%, 72%) |
| HSV | hsv(275, 51%, 96%) |
| CMYK | cmyk(21.5%, 51.2%, 0%, 3.5%) |
| CIE-LAB | lab(62.86, 50.74, -52.31) |
| CIE-LCH | lch(62.86, 72.88, 314.13°) |
| OKLab | oklab(70.1% 0.119 -0.1465) |
| OKLCH | oklch(70.1% 0.189 309.1) |
| XYZ | xyz(45.3401, 31.4249, 90.8480) |
| Luminance | 0.3142 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 0.46
Easter Purple
#C071FE
ΔE00 2.04
Light Urple
#B36FF6
ΔE00 3.47
Bright Lavender
#C760FF
ΔE00 4.92
Bright Lilac
#C95EFB
ΔE00 5.21
Liliac
#C48EFD
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C178F6 #ADF678
analogous
#8278F6 #C178F6 #F678EC
triadic
#C178F6 #F6C178 #78F6C1
tetradic
#C178F6 #F68278 #ADF678 #78ECF6
square
#C178F6 #F68278 #ADF678 #78ECF6
split-complementary
#C178F6 #ECF678 #78F682
monochromatic
#8B0FE4 #A73FF2 #C178F6 #DBB1FA #F2E2FD
Accessibility & contrast
On white
2.88
#C178F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#C178F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C178F6
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C178F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C178F6 | 1.00 | 2.88 | 7.28 | 7.28 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5595FA
Deuteranopia (green-blind)
#6B99F3
Tritanopia (blue-blind)
#BA8EAC
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #c178f6; /* rgb */ color: rgb(193, 120, 246); /* oklch */ color: oklch(70.1% 0.189 309.1);
Tailwind
colors: {
custom: {
50: '#d6a1fa',
500: '#c178f6',
950: '#000000',
},
}SCSS
$custom: #c178f6; $custom-light: #d6a1fa; $custom-dark: #000000;
JSON
{
"hex": "#c178f6",
"rgb": {
"r": 193,
"g": 120,
"b": 246
},
"hsl": {
"h": 274.762,
"s": 87.5,
"l": 71.765
},
"oklch": {
"l": 0.70104,
"c": 0.18876,
"h": 309.1
},
"luminance": 0.31424
}Semantic roles & 50–950 ramp
primary
#C178F6
secondary
#E2F5D5
accent
#E40161
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85