#B37EF8#B37EF8
#B37EF8 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.7% C 0.178 H 302.1°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B37EF8 |
|---|---|
| RGB | rgb(179, 126, 248) |
| HSL | hsl(266, 90%, 73%) |
| HSV | hsv(266, 49%, 97%) |
| CMYK | cmyk(27.8%, 49.2%, 0%, 2.7%) |
| CIE-LAB | lab(62.75, 44.39, -53.69) |
| CIE-LCH | lch(62.75, 69.67, 309.58°) |
| OKLab | oklab(69.72% 0.0945 -0.1509) |
| OKLCH | oklch(69.72% 0.178 302.1) |
| XYZ | xyz(42.9907, 31.2827, 92.5620) |
| Luminance | 0.3128 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.94
Light Urple
#B36FF6
ΔE00 3.64
Easter Purple
#C071FE
ΔE00 3.74
Liliac
#C48EFD
ΔE00 4.83
Bright Lavender
#C760FF
ΔE00 6.95
Bright Lilac
#C95EFB
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B37EF8 #C3F87E
analogous
#7E86F8 #B37EF8 #F07EF8
triadic
#B37EF8 #F8B37E #7EF8B3
tetradic
#B37EF8 #F87E86 #C3F87E #7EF8F0
square
#B37EF8 #F87E86 #C3F87E #7EF8F0
split-complementary
#B37EF8 #F8F07E #86F87E
monochromatic
#6F0DEF #9144F5 #B37EF8 #D5B8FB #EEE2FD
Accessibility & contrast
On white
2.89
#B37EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#B37EF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B37EF8
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B37EF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B37EF8 | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5797FC
Deuteranopia (green-blind)
#6597F5
Tritanopia (blue-blind)
#A694B0
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b37ef8; /* rgb */ color: rgb(179, 126, 248); /* oklch */ color: oklch(69.7% 0.178 302.1);
Tailwind
colors: {
custom: {
50: '#cda4fb',
500: '#b37ef8',
950: '#000000',
},
}SCSS
$custom: #b37ef8; $custom-light: #cda4fb; $custom-dark: #000000;
JSON
{
"hex": "#b37ef8",
"rgb": {
"r": 179,
"g": 126,
"b": 248
},
"hsl": {
"h": 266.066,
"s": 89.706,
"l": 73.333
},
"oklch": {
"l": 0.69716,
"c": 0.17807,
"h": 302.1
},
"luminance": 0.31283
}Semantic roles & 50–950 ramp
primary
#B37EF8
secondary
#E8F6D5
accent
#E60082
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85