#B378EF#B378EF
#B378EF is a light, vivid violet. Relative luminance 0.292; OKLCH L 68.3% C 0.177 H 305.1°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).
Color values
| HEX | #B378EF |
|---|---|
| RGB | rgb(179, 120, 239) |
| HSL | hsl(270, 79%, 70%) |
| HSV | hsv(270, 50%, 94%) |
| CMYK | cmyk(25.1%, 49.8%, 0%, 6.3%) |
| CIE-LAB | lab(61.00, 45.53, -51.49) |
| CIE-LCH | lch(61.00, 68.74, 311.49°) |
| OKLab | oklab(68.27% 0.1015 -0.1445) |
| OKLCH | oklch(68.27% 0.177 305.1) |
| XYZ | xyz(40.8836, 29.2489, 85.1364) |
| Luminance | 0.2925 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.19
Light Urple
#B36FF6
ΔE00 2.43
Easter Purple
#C071FE
ΔE00 3.10
Bright Lavender
#C760FF
ΔE00 5.82
Liliac
#C48EFD
ΔE00 6.08
Bright Lilac
#C95EFB
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B378EF #B4EF78
analogous
#7878EF #B378EF #EF78EF
triadic
#B378EF #EFB378 #78EFB3
tetradic
#B378EF #EF7878 #B4EF78 #78EFEF
square
#B378EF #EF7878 #B4EF78 #78EFEF
split-complementary
#B378EF #EFEF78 #78EF78
monochromatic
#7619D4 #9441E9 #B378EF #D2AFF5 #F0E4FC
Accessibility & contrast
On white
3.07
#B378EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.85
#B378EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B378EF
6.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B378EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B378EF | 1.00 | 3.07 | 6.85 | 6.85 |
| #FFFFFF | 3.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5491F3
Deuteranopia (green-blind)
#6593EC
Tritanopia (blue-blind)
#A98DA9
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b378ef; /* rgb */ color: rgb(179, 120, 239); /* oklch */ color: oklch(68.3% 0.177 305.1);
Tailwind
colors: {
custom: {
50: '#cca0f5',
500: '#b378ef',
950: '#000000',
},
}SCSS
$custom: #b378ef; $custom-light: #cca0f5; $custom-dark: #000000;
JSON
{
"hex": "#b378ef",
"rgb": {
"r": 179,
"g": 120,
"b": 239
},
"hsl": {
"h": 269.748,
"s": 78.808,
"l": 70.392
},
"oklch": {
"l": 0.68267,
"c": 0.17658,
"h": 305.1
},
"luminance": 0.29249
}Semantic roles & 50–950 ramp
primary
#B378EF
secondary
#E2F2D1
accent
#DB0A74
background
#FCFAFF
surface
#F9F3FE
border
#D2CDD6
text
#140F17
muted
#827F85