#B378F5#B378F5
#B378F5 is a light, vivid violet. Relative luminance 0.296; OKLCH L 68.6% C 0.184 H 303.7°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #B378F5 |
|---|---|
| RGB | rgb(179, 120, 245) |
| HSL | hsl(268, 86%, 72%) |
| HSV | hsv(268, 51%, 96%) |
| CMYK | cmyk(26.9%, 51%, 0%, 3.9%) |
| CIE-LAB | lab(61.32, 46.93, -54.31) |
| CIE-LCH | lch(61.32, 71.78, 310.83°) |
| OKLab | oklab(68.6% 0.102 -0.1527) |
| OKLCH | oklch(68.6% 0.184 303.7) |
| XYZ | xyz(41.7847, 29.6093, 89.8824) |
| Luminance | 0.2961 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.15
Light Purple
#BF77F6
ΔE00 2.24
Easter Purple
#C071FE
ΔE00 2.76
Bright Lavender
#C760FF
ΔE00 5.67
Liliac
#C48EFD
ΔE00 6.03
Bright Lilac
#C95EFB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B378F5 #BAF578
analogous
#787CF5 #B378F5 #F278F5
triadic
#B378F5 #F5B378 #78F5B3
tetradic
#B378F5 #F5787C #BAF578 #78F5F2
square
#B378F5 #F5787C #BAF578 #78F5F2
split-complementary
#B378F5 #F5F278 #7CF578
monochromatic
#7311E2 #933FF1 #B378F5 #D3B1F9 #EFE3FD
Accessibility & contrast
On white
3.03
#B378F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.92
#B378F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B378F5
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B378F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B378F5 | 1.00 | 3.03 | 6.92 | 6.92 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5093F9
Deuteranopia (green-blind)
#6194F2
Tritanopia (blue-blind)
#A78FAB
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b378f5; /* rgb */ color: rgb(179, 120, 245); /* oklch */ color: oklch(68.6% 0.184 303.7);
Tailwind
colors: {
custom: {
50: '#cda0f9',
500: '#b378f5',
950: '#000000',
},
}SCSS
$custom: #b378f5; $custom-light: #cda0f9; $custom-dark: #000000;
JSON
{
"hex": "#b378f5",
"rgb": {
"r": 179,
"g": 120,
"b": 245
},
"hsl": {
"h": 268.32,
"s": 86.207,
"l": 71.569
},
"oklch": {
"l": 0.68603,
"c": 0.18366,
"h": 303.7
},
"luminance": 0.29609
}Semantic roles & 50–950 ramp
primary
#B378F5
secondary
#E5F4D4
accent
#E30379
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85