#B37EF7#B37EF7
#B37EF7 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.7% C 0.177 H 302.3°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #B37EF7 |
|---|---|
| RGB | rgb(179, 126, 247) |
| HSL | hsl(266, 88%, 73%) |
| HSV | hsv(266, 49%, 97%) |
| CMYK | cmyk(27.5%, 49%, 0%, 3.1%) |
| CIE-LAB | lab(62.69, 44.15, -53.23) |
| CIE-LCH | lch(62.69, 69.15, 309.68°) |
| OKLab | oklab(69.66% 0.0944 -0.1496) |
| OKLCH | oklch(69.66% 0.177 302.3) |
| XYZ | xyz(42.8360, 31.2208, 91.7471) |
| Luminance | 0.3122 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.89
Light Urple
#B36FF6
ΔE00 3.64
Easter Purple
#C071FE
ΔE00 3.75
Liliac
#C48EFD
ΔE00 4.82
Bright Lavender
#C760FF
ΔE00 6.95
Mediumpurple
#9370DB
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B37EF7 #C2F77E
analogous
#7E85F7 #B37EF7 #EF7EF7
triadic
#B37EF7 #F7B37E #7EF7B3
tetradic
#B37EF7 #F77E85 #C2F77E #7EF7EF
square
#B37EF7 #F77E85 #C2F77E #7EF7EF
split-complementary
#B37EF7 #F7EF7E #85F77E
monochromatic
#700FEC #9144F3 #B37EF7 #D5B8FB #EEE2FD
Accessibility & contrast
On white
2.90
#B37EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#B37EF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B37EF7
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B37EF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B37EF7 | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#6697F4
Tritanopia (blue-blind)
#A694AF
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b37ef7; /* rgb */ color: rgb(179, 126, 247); /* oklch */ color: oklch(69.7% 0.177 302.3);
Tailwind
colors: {
custom: {
50: '#cca4fa',
500: '#b37ef7',
950: '#000000',
},
}SCSS
$custom: #b37ef7; $custom-light: #cca4fa; $custom-dark: #000000;
JSON
{
"hex": "#b37ef7",
"rgb": {
"r": 179,
"g": 126,
"b": 247
},
"hsl": {
"h": 266.281,
"s": 88.321,
"l": 73.137
},
"oklch": {
"l": 0.69661,
"c": 0.17686,
"h": 302.3
},
"luminance": 0.31221
}Semantic roles & 50–950 ramp
primary
#B37EF7
secondary
#E7F5D6
accent
#E50181
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85