#B37FEB#B37FEB
#B37FEB is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.2% C 0.161 H 304.8°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B37FEB |
|---|---|
| RGB | rgb(179, 127, 235) |
| HSL | hsl(269, 73%, 71%) |
| HSV | hsv(269, 46%, 92%) |
| CMYK | cmyk(23.8%, 46%, 0%, 7.8%) |
| CIE-LAB | lab(62.31, 40.80, -47.21) |
| CIE-LCH | lch(62.31, 62.40, 310.83°) |
| OKLab | oklab(69.17% 0.0917 -0.132) |
| OKLCH | oklch(69.17% 0.161 304.8) |
| XYZ | xyz(41.1720, 30.7608, 82.3496) |
| Luminance | 0.3076 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.15
Light Urple
#B36FF6
ΔE00 4.38
Easter Purple
#C071FE
ΔE00 4.60
Liliac
#C48EFD
ΔE00 4.80
Mediumpurple
#9370DB
ΔE00 7.24
Wisteria
#A87DC2
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B37FEB #B7EB7F
analogous
#7F81EB #B37FEB #E97FEB
triadic
#B37FEB #EBB37F #7FEBB3
tetradic
#B37FEB #EB7F81 #B7EB7F #7FEBE9
square
#B37FEB #EB7F81 #B7EB7F #7FEBE9
split-complementary
#B37FEB #EBE97F #81EB7F
monochromatic
#7520CF #944AE3 #B37FEB #D2B4F3 #EFE5FB
Accessibility & contrast
On white
2.94
#B37FEB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#B37FEB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B37FEB
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B37FEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B37FEB | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#6F97E8
Tritanopia (blue-blind)
#AA91AA
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b37feb; /* rgb */ color: rgb(179, 127, 235); /* oklch */ color: oklch(69.2% 0.161 304.8);
Tailwind
colors: {
custom: {
50: '#cca5f2',
500: '#b37feb',
950: '#000000',
},
}SCSS
$custom: #b37feb; $custom-light: #cca5f2; $custom-dark: #000000;
JSON
{
"hex": "#b37feb",
"rgb": {
"r": 179,
"g": 127,
"b": 235
},
"hsl": {
"h": 268.889,
"s": 72.973,
"l": 70.98
},
"oklch": {
"l": 0.69174,
"c": 0.16075,
"h": 304.8
},
"luminance": 0.30761
}Semantic roles & 50–950 ramp
primary
#B37FEB
secondary
#E3F1D5
accent
#D51076
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85