#B378DC#B378DC
#B378DC is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.3% C 0.154 H 310.0°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #B378DC |
|---|---|
| RGB | rgb(179, 120, 220) |
| HSL | hsl(275, 59%, 67%) |
| HSV | hsv(275, 45%, 86%) |
| CMYK | cmyk(18.6%, 45.5%, 0%, 13.7%) |
| CIE-LAB | lab(60.06, 41.24, -42.40) |
| CIE-LCH | lch(60.06, 59.15, 314.20°) |
| OKLab | oklab(67.25% 0.0992 -0.118) |
| OKLCH | oklch(67.25% 0.154 310) |
| XYZ | xyz(38.2228, 28.1846, 71.1229) |
| Luminance | 0.2818 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.16
Light Urple
#B36FF6
ΔE00 4.92
Wisteria
#A87DC2
ΔE00 5.43
Easter Purple
#C071FE
ΔE00 5.48
Mediumpurple
#9370DB
ΔE00 7.02
Liliac
#C48EFD
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B378DC #A1DC78
analogous
#8178DC #B378DC #DC78D3
triadic
#B378DC #DCB378 #78DCB3
tetradic
#B378DC #DC8178 #A1DC78 #78D3DC
square
#B378DC #DC8178 #A1DC78 #78D3DC
split-complementary
#B378DC #D3DC78 #78DC81
monochromatic
#782DAD #9847CF #B378DC #CEA9E9 #EAD9F5
Accessibility & contrast
On white
3.16
#B378DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.64
#B378DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B378DC
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B378DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B378DC | 1.00 | 3.16 | 6.64 | 6.64 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#618EE0
Deuteranopia (green-blind)
#7192D9
Tritanopia (blue-blind)
#AE88A0
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #b378dc; /* rgb */ color: rgb(179, 120, 220); /* oklch */ color: oklch(67.3% 0.154 310.0);
Tailwind
colors: {
custom: {
50: '#cba0e7',
500: '#b378dc',
950: '#000000',
},
}SCSS
$custom: #b378dc; $custom-light: #cba0e7; $custom-dark: #000000;
JSON
{
"hex": "#b378dc",
"rgb": {
"r": 179,
"g": 120,
"b": 220
},
"hsl": {
"h": 275.4,
"s": 58.824,
"l": 66.667
},
"oklch": {
"l": 0.67254,
"c": 0.1542,
"h": 310
},
"luminance": 0.28184
}Semantic roles & 50–950 ramp
primary
#B378DC
secondary
#D5E8C8
accent
#C61F64
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#130F16
muted
#827E84