#B378FE#B378FE
#B378FE is a light, vivid violet. Relative luminance 0.302; OKLCH L 69.1% C 0.194 H 301.9°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #B378FE |
|---|---|
| RGB | rgb(179, 120, 254) |
| HSL | hsl(266, 99%, 73%) |
| HSV | hsv(266, 53%, 100%) |
| CMYK | cmyk(29.5%, 52.8%, 0%, 0.4%) |
| CIE-LAB | lab(61.80, 49.05, -58.49) |
| CIE-LCH | lch(61.80, 76.34, 309.98°) |
| OKLab | oklab(69.12% 0.1026 -0.165) |
| OKLCH | oklch(69.12% 0.194 301.9) |
| XYZ | xyz(43.1922, 30.1723, 97.2951) |
| Luminance | 0.3017 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.46
Easter Purple
#C071FE
ΔE00 2.78
Light Purple
#BF77F6
ΔE00 2.89
Bright Lavender
#C760FF
ΔE00 5.73
Liliac
#C48EFD
ΔE00 6.19
Bright Lilac
#C95EFB
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B378FE #C3FE78
analogous
#7880FE #B378FE #F678FE
triadic
#B378FE #FEB378 #78FEB3
tetradic
#B378FE #FE7880 #C3FE78 #78FEF6
square
#B378FE #FE7880 #C3FE78 #78FEF6
split-complementary
#B378FE #FEF678 #80FE78
monochromatic
#6F02FA #913BFE #B378FE #D5B5FE #EEE1FF
Accessibility & contrast
On white
2.99
#B378FE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#B378FE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B378FE
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B378FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B378FE | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#5A95FB
Tritanopia (blue-blind)
#A592B0
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #b378fe; /* rgb */ color: rgb(179, 120, 254); /* oklch */ color: oklch(69.1% 0.194 301.9);
Tailwind
colors: {
custom: {
50: '#cda1ff',
500: '#b378fe',
950: '#000000',
},
}SCSS
$custom: #b378fe; $custom-light: #cda1ff; $custom-dark: #000000;
JSON
{
"hex": "#b378fe",
"rgb": {
"r": 179,
"g": 120,
"b": 254
},
"hsl": {
"h": 266.418,
"s": 98.529,
"l": 73.333
},
"oklch": {
"l": 0.69121,
"c": 0.19426,
"h": 301.9
},
"luminance": 0.30172
}Semantic roles & 50–950 ramp
primary
#B378FE
secondary
#E8F7D4
accent
#E60080
background
#FCFAFF
surface
#F9F3FF
border
#D2CDD7
text
#140F18
muted
#827F86