#B37EF1#B37EF1
#B37EF1 is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.3% C 0.170 H 303.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #B37EF1 |
|---|---|
| RGB | rgb(179, 126, 241) |
| HSL | hsl(268, 80%, 72%) |
| HSV | hsv(268, 48%, 95%) |
| CMYK | cmyk(25.7%, 47.7%, 0%, 5.5%) |
| CIE-LAB | lab(62.39, 42.74, -50.40) |
| CIE-LCH | lch(62.39, 66.08, 310.30°) |
| OKLab | oklab(69.33% 0.0938 -0.1413) |
| OKLCH | oklch(69.33% 0.17 303.6) |
| XYZ | xyz(41.9250, 30.8564, 86.9492) |
| Luminance | 0.3086 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.77
Light Urple
#B36FF6
ΔE00 3.76
Easter Purple
#C071FE
ΔE00 3.97
Liliac
#C48EFD
ΔE00 4.81
Bright Lavender
#C760FF
ΔE00 7.05
Mediumpurple
#9370DB
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B37EF1 #BCF17E
analogous
#7E83F1 #B37EF1 #ED7EF1
triadic
#B37EF1 #F1B37E #7EF1B3
tetradic
#B37EF1 #F17E83 #BCF17E #7EF1ED
square
#B37EF1 #F17E83 #BCF17E #7EF1ED
split-complementary
#B37EF1 #F1ED7E #83F17E
monochromatic
#7318DD #9247EB #B37EF1 #D4B5F7 #EFE3FC
Accessibility & contrast
On white
2.93
#B37EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.17
#B37EF1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B37EF1
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B37EF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B37EF1 | 1.00 | 2.93 | 7.17 | 7.17 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C96F5
Deuteranopia (green-blind)
#6A97EE
Tritanopia (blue-blind)
#A892AC
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b37ef1; /* rgb */ color: rgb(179, 126, 241); /* oklch */ color: oklch(69.3% 0.170 303.6);
Tailwind
colors: {
custom: {
50: '#cca4f6',
500: '#b37ef1',
950: '#000000',
},
}SCSS
$custom: #b37ef1; $custom-light: #cca4f6; $custom-dark: #000000;
JSON
{
"hex": "#b37ef1",
"rgb": {
"r": 179,
"g": 126,
"b": 241
},
"hsl": {
"h": 267.652,
"s": 80.42,
"l": 71.961
},
"oklch": {
"l": 0.69332,
"c": 0.16961,
"h": 303.6
},
"luminance": 0.30856
}Semantic roles & 50–950 ramp
primary
#B37EF1
secondary
#E7F4D7
accent
#DD097B
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85