#B378F8#B378F8
#B378F8 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.8% C 0.187 H 303.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #B378F8 |
|---|---|
| RGB | rgb(179, 120, 248) |
| HSL | hsl(268, 90%, 72%) |
| HSV | hsv(268, 52%, 97%) |
| CMYK | cmyk(27.8%, 51.6%, 0%, 2.7%) |
| CIE-LAB | lab(61.48, 47.63, -55.71) |
| CIE-LCH | lch(61.48, 73.30, 310.53°) |
| OKLab | oklab(68.77% 0.1022 -0.1568) |
| OKLCH | oklch(68.77% 0.187 303.1) |
| XYZ | xyz(42.2464, 29.7940, 92.3139) |
| Luminance | 0.2979 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.17
Light Purple
#BF77F6
ΔE00 2.40
Easter Purple
#C071FE
ΔE00 2.69
Bright Lavender
#C760FF
ΔE00 5.66
Liliac
#C48EFD
ΔE00 6.05
Bright Lilac
#C95EFB
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B378F8 #BDF878
analogous
#787DF8 #B378F8 #F378F8
triadic
#B378F8 #F8B378 #78F8B3
tetradic
#B378F8 #F8787D #BDF878 #78F8F3
square
#B378F8 #F8787D #BDF878 #78F8F3
split-complementary
#B378F8 #F8F378 #7DF878
monochromatic
#720CE9 #923EF5 #B378F8 #D4B2FB #EFE2FD
Accessibility & contrast
On white
3.02
#B378F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#B378F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B378F8
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B378F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B378F8 | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D93FC
Deuteranopia (green-blind)
#5F94F5
Tritanopia (blue-blind)
#A690AD
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #b378f8; /* rgb */ color: rgb(179, 120, 248); /* oklch */ color: oklch(68.8% 0.187 303.1);
Tailwind
colors: {
custom: {
50: '#cda0fb',
500: '#b378f8',
950: '#000000',
},
}SCSS
$custom: #b378f8; $custom-light: #cda0fb; $custom-dark: #000000;
JSON
{
"hex": "#b378f8",
"rgb": {
"r": 179,
"g": 120,
"b": 248
},
"hsl": {
"h": 267.656,
"s": 90.141,
"l": 72.157
},
"oklch": {
"l": 0.68774,
"c": 0.1872,
"h": 303.1
},
"luminance": 0.29794
}Semantic roles & 50–950 ramp
primary
#B378F8
secondary
#E7F6D5
accent
#E6007C
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F17
muted
#827F85