#B37EF6#B37EF6
#B37EF6 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.6% C 0.176 H 302.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #B37EF6 |
|---|---|
| RGB | rgb(179, 126, 246) |
| HSL | hsl(267, 87%, 73%) |
| HSV | hsv(267, 49%, 96%) |
| CMYK | cmyk(27.2%, 48.8%, 0%, 3.5%) |
| CIE-LAB | lab(62.64, 43.92, -52.76) |
| CIE-LCH | lch(62.64, 68.64, 309.77°) |
| OKLab | oklab(69.6% 0.0943 -0.1482) |
| OKLCH | oklch(69.6% 0.176 302.5) |
| XYZ | xyz(42.6821, 31.1592, 90.9366) |
| Luminance | 0.3116 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.85
Light Urple
#B36FF6
ΔE00 3.64
Easter Purple
#C071FE
ΔE00 3.77
Liliac
#C48EFD
ΔE00 4.80
Bright Lavender
#C760FF
ΔE00 6.96
Mediumpurple
#9370DB
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B37EF6 #C1F67E
analogous
#7E85F6 #B37EF6 #EF7EF6
triadic
#B37EF6 #F6B37E #7EF6B3
tetradic
#B37EF6 #F67E85 #C1F67E #7EF6EF
square
#B37EF6 #F67E85 #C1F67E #7EF6EF
split-complementary
#B37EF6 #F6EF7E #85F67E
monochromatic
#7010E9 #9145F2 #B37EF6 #D5B7FA #EEE2FD
Accessibility & contrast
On white
2.90
#B37EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#B37EF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B37EF6
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B37EF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B37EF6 | 1.00 | 2.90 | 7.23 | 7.23 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5996FA
Deuteranopia (green-blind)
#6797F3
Tritanopia (blue-blind)
#A794AF
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b37ef6; /* rgb */ color: rgb(179, 126, 246); /* oklch */ color: oklch(69.6% 0.176 302.5);
Tailwind
colors: {
custom: {
50: '#cca4fa',
500: '#b37ef6',
950: '#000000',
},
}SCSS
$custom: #b37ef6; $custom-light: #cca4fa; $custom-dark: #000000;
JSON
{
"hex": "#b37ef6",
"rgb": {
"r": 179,
"g": 126,
"b": 246
},
"hsl": {
"h": 266.5,
"s": 86.957,
"l": 72.941
},
"oklch": {
"l": 0.69605,
"c": 0.17565,
"h": 302.5
},
"luminance": 0.31159
}Semantic roles & 50–950 ramp
primary
#B37EF6
secondary
#E7F5D6
accent
#E40280
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85