#B37BFB#B37BFB
#B37BFB is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.4% C 0.186 H 302.0°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B37BFB |
|---|---|
| RGB | rgb(179, 123, 251) |
| HSL | hsl(266, 94%, 73%) |
| HSV | hsv(266, 51%, 98%) |
| CMYK | cmyk(28.7%, 51%, 0%, 1.6%) |
| CIE-LAB | lab(62.27, 46.73, -56.11) |
| CIE-LCH | lch(62.27, 73.02, 309.79°) |
| OKLab | oklab(69.41% 0.0986 -0.158) |
| OKLCH | oklch(69.41% 0.186 302) |
| XYZ | xyz(43.0820, 30.7146, 94.9069) |
| Luminance | 0.3071 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.78
Light Urple
#B36FF6
ΔE00 2.97
Easter Purple
#C071FE
ΔE00 3.17
Liliac
#C48EFD
ΔE00 5.50
Bright Lavender
#C760FF
ΔE00 6.30
Bright Lilac
#C95EFB
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B37BFB #C3FB7B
analogous
#7B83FB #B37BFB #F37BFB
triadic
#B37BFB #FBB37B #7BFBB3
tetradic
#B37BFB #FB7B83 #C3FB7B #7BFBF3
square
#B37BFB #FB7B83 #C3FB7B #7BFBF3
split-complementary
#B37BFB #FBF37B #83FB7B
monochromatic
#6F07F4 #9140F9 #B37BFB #D5B6FD #EEE1FE
Accessibility & contrast
On white
2.94
#B37BFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.14
#B37BFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B37BFB
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B37BFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B37BFB | 1.00 | 2.94 | 7.14 | 7.14 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#6096F8
Tritanopia (blue-blind)
#A593B0
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b37bfb; /* rgb */ color: rgb(179, 123, 251); /* oklch */ color: oklch(69.4% 0.186 302.0);
Tailwind
colors: {
custom: {
50: '#cda2fd',
500: '#b37bfb',
950: '#000000',
},
}SCSS
$custom: #b37bfb; $custom-light: #cda2fd; $custom-dark: #000000;
JSON
{
"hex": "#b37bfb",
"rgb": {
"r": 179,
"g": 123,
"b": 251
},
"hsl": {
"h": 266.25,
"s": 94.118,
"l": 73.333
},
"oklch": {
"l": 0.69411,
"c": 0.18623,
"h": 302
},
"luminance": 0.30715
}Semantic roles & 50–950 ramp
primary
#B37BFB
secondary
#E8F6D5
accent
#E60081
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86