#C378EB#C378EB
#C378EB is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.7% C 0.177 H 312.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #C378EB |
|---|---|
| RGB | rgb(195, 120, 235) |
| HSL | hsl(279, 74%, 70%) |
| HSV | hsv(279, 49%, 92%) |
| CMYK | cmyk(17%, 48.9%, 0%, 7.8%) |
| CIE-LAB | lab(62.54, 48.90, -46.73) |
| CIE-LCH | lch(62.54, 67.64, 316.30°) |
| OKLab | oklab(69.73% 0.1203 -0.1302) |
| OKLCH | oklch(69.73% 0.177 312.7) |
| XYZ | xyz(44.2150, 31.0342, 82.2422) |
| Luminance | 0.3103 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.23
Easter Purple
#C071FE
ΔE00 3.66
Light Urple
#B36FF6
ΔE00 4.67
Bright Lavender
#C760FF
ΔE00 5.64
Bright Lilac
#C95EFB
ΔE00 5.66
Liliac
#C48EFD
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C378EB #A0EB78
analogous
#8978EB #C378EB #EB78DA
triadic
#C378EB #EBC378 #78EBC3
tetradic
#C378EB #EB8978 #A0EB78 #78DAEB
square
#C378EB #EB8978 #A0EB78 #78DAEB
split-complementary
#C378EB #DAEB78 #78EB89
monochromatic
#8F1ECB #AB43E3 #C378EB #DBADF3 #F2E3FB
Accessibility & contrast
On white
2.91
#C378EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#C378EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C378EB
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C378EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C378EB | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D93EF
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#BF8AA7
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #c378eb; /* rgb */ color: rgb(195, 120, 235); /* oklch */ color: oklch(69.7% 0.177 312.7);
Tailwind
colors: {
custom: {
50: '#d7a1f2',
500: '#c378eb',
950: '#000000',
},
}SCSS
$custom: #c378eb; $custom-light: #d7a1f2; $custom-dark: #000000;
JSON
{
"hex": "#c378eb",
"rgb": {
"r": 195,
"g": 120,
"b": 235
},
"hsl": {
"h": 279.13,
"s": 74.194,
"l": 69.608
},
"oklch": {
"l": 0.69731,
"c": 0.1773,
"h": 312.7
},
"luminance": 0.31033
}Semantic roles & 50–950 ramp
primary
#C378EB
secondary
#DAF0CF
accent
#D60F54
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85