#B37EF9#B37EF9
#B37EF9 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.8% C 0.179 H 301.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #B37EF9 |
|---|---|
| RGB | rgb(179, 126, 249) |
| HSL | hsl(266, 91%, 74%) |
| HSV | hsv(266, 49%, 98%) |
| CMYK | cmyk(28.1%, 49.4%, 0%, 2.4%) |
| CIE-LAB | lab(62.80, 44.63, -54.16) |
| CIE-LCH | lch(62.80, 70.18, 309.49°) |
| OKLab | oklab(69.77% 0.0946 -0.1523) |
| OKLCH | oklch(69.77% 0.179 301.8) |
| XYZ | xyz(43.1463, 31.3449, 93.3813) |
| Luminance | 0.3135 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.99
Light Urple
#B36FF6
ΔE00 3.65
Easter Purple
#C071FE
ΔE00 3.73
Liliac
#C48EFD
ΔE00 4.86
Bright Lavender
#C760FF
ΔE00 6.95
Bright Lilac
#C95EFB
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B37EF9 #C4F97E
analogous
#7E86F9 #B37EF9 #F17EF9
triadic
#B37EF9 #F9B37E #7EF9B3
tetradic
#B37EF9 #F97E86 #C4F97E #7EF9F1
square
#B37EF9 #F97E86 #C4F97E #7EF9F1
split-complementary
#B37EF9 #F9F17E #86F97E
monochromatic
#6E0BF1 #9144F6 #B37EF9 #D5B8FC #EEE2FE
Accessibility & contrast
On white
2.89
#B37EF9 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.27
#B37EF9 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B37EF9
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B37EF9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B37EF9 | 1.00 | 2.89 | 7.27 | 7.27 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5797FD
Deuteranopia (green-blind)
#6597F6
Tritanopia (blue-blind)
#A695B0
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b37ef9; /* rgb */ color: rgb(179, 126, 249); /* oklch */ color: oklch(69.8% 0.179 301.8);
Tailwind
colors: {
custom: {
50: '#cda4fc',
500: '#b37ef9',
950: '#000000',
},
}SCSS
$custom: #b37ef9; $custom-light: #cda4fc; $custom-dark: #000000;
JSON
{
"hex": "#b37ef9",
"rgb": {
"r": 179,
"g": 126,
"b": 249
},
"hsl": {
"h": 265.854,
"s": 91.111,
"l": 73.529
},
"oklch": {
"l": 0.69772,
"c": 0.17927,
"h": 301.8
},
"luminance": 0.31345
}Semantic roles & 50–950 ramp
primary
#B37EF9
secondary
#E8F6D5
accent
#E60083
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85