#B37FEF#B37FEF
#B37FEF is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.4% C 0.166 H 303.8°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #B37FEF |
|---|---|
| RGB | rgb(179, 127, 239) |
| HSL | hsl(268, 78%, 72%) |
| HSV | hsv(268, 47%, 94%) |
| CMYK | cmyk(25.1%, 46.9%, 0%, 6.3%) |
| CIE-LAB | lab(62.50, 41.73, -49.11) |
| CIE-LCH | lch(62.50, 64.44, 310.35°) |
| OKLab | oklab(69.39% 0.0922 -0.1376) |
| OKLCH | oklch(69.39% 0.166 303.8) |
| XYZ | xyz(41.7564, 30.9946, 85.4273) |
| Luminance | 0.3099 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.98
Light Urple
#B36FF6
ΔE00 4.11
Easter Purple
#C071FE
ΔE00 4.29
Liliac
#C48EFD
ΔE00 4.65
Mediumpurple
#9370DB
ΔE00 7.27
Bright Lavender
#C760FF
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B37FEF #BBEF7F
analogous
#7F83EF #B37FEF #EB7FEF
triadic
#B37FEF #EFB37F #7FEFB3
tetradic
#B37FEF #EF7F83 #BBEF7F #7FEFEB
square
#B37FEF #EF7F83 #BBEF7F #7FEFEB
split-complementary
#B37FEF #EFEB7F #83EF7F
monochromatic
#731BD9 #9349E8 #B37FEF #D3B5F6 #EFE4FC
Accessibility & contrast
On white
2.92
#B37FEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.20
#B37FEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B37FEF
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B37FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B37FEF | 1.00 | 2.92 | 7.20 | 7.20 |
| #FFFFFF | 2.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#A993AC
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b37fef; /* rgb */ color: rgb(179, 127, 239); /* oklch */ color: oklch(69.4% 0.166 303.8);
Tailwind
colors: {
custom: {
50: '#cca5f5',
500: '#b37fef',
950: '#000000',
},
}SCSS
$custom: #b37fef; $custom-light: #cca5f5; $custom-dark: #000000;
JSON
{
"hex": "#b37fef",
"rgb": {
"r": 179,
"g": 127,
"b": 239
},
"hsl": {
"h": 267.857,
"s": 77.778,
"l": 71.765
},
"oklch": {
"l": 0.69386,
"c": 0.16561,
"h": 303.8
},
"luminance": 0.30994
}Semantic roles & 50–950 ramp
primary
#B37FEF
secondary
#E6F3D7
accent
#DA0B7A
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85