#B37EFB#B37EFB
#B37EFB is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.9% C 0.182 H 301.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #B37EFB |
|---|---|
| RGB | rgb(179, 126, 251) |
| HSL | hsl(265, 94%, 74%) |
| HSV | hsv(265, 50%, 98%) |
| CMYK | cmyk(28.7%, 49.8%, 0%, 1.6%) |
| CIE-LAB | lab(62.90, 45.10, -55.09) |
| CIE-LCH | lch(62.90, 71.20, 309.31°) |
| OKLab | oklab(69.88% 0.0948 -0.155) |
| OKLCH | oklch(69.88% 0.182 301.4) |
| XYZ | xyz(43.4599, 31.4703, 95.0329) |
| Luminance | 0.3147 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.12
Light Urple
#B36FF6
ΔE00 3.70
Easter Purple
#C071FE
ΔE00 3.74
Liliac
#C48EFD
ΔE00 4.91
Bright Lavender
#C760FF
ΔE00 6.95
Bright Lilac
#C95EFB
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B37EFB #C6FB7E
analogous
#7E88FB #B37EFB #F27EFB
triadic
#B37EFB #FBB37E #7EFBB3
tetradic
#B37EFB #FB7E88 #C6FB7E #7EFBF2
square
#B37EFB #FB7E88 #C6FB7E #7EFBF2
split-complementary
#B37EFB #FBF27E #88FB7E
monochromatic
#6D08F7 #9043F9 #B37EFB #D6B9FD #EEE1FE
Accessibility & contrast
On white
2.88
#B37EFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.29
#B37EFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B37EFB
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B37EFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B37EFB | 1.00 | 2.88 | 7.29 | 7.29 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5597FF
Deuteranopia (green-blind)
#6398F8
Tritanopia (blue-blind)
#A595B1
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b37efb; /* rgb */ color: rgb(179, 126, 251); /* oklch */ color: oklch(69.9% 0.182 301.4);
Tailwind
colors: {
custom: {
50: '#cda4fd',
500: '#b37efb',
950: '#000000',
},
}SCSS
$custom: #b37efb; $custom-light: #cda4fd; $custom-dark: #000000;
JSON
{
"hex": "#b37efb",
"rgb": {
"r": 179,
"g": 126,
"b": 251
},
"hsl": {
"h": 265.44,
"s": 93.985,
"l": 73.922
},
"oklch": {
"l": 0.69884,
"c": 0.18169,
"h": 301.4
},
"luminance": 0.3147
}Semantic roles & 50–950 ramp
primary
#B37EFB
secondary
#E8F6D5
accent
#E60084
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86