#B371E9#B371E9
#B371E9 is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.9% C 0.180 H 307.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #B371E9 |
|---|---|
| RGB | rgb(179, 113, 233) |
| HSL | hsl(273, 73%, 68%) |
| HSV | hsv(273, 52%, 91%) |
| CMYK | cmyk(23.2%, 51.5%, 0%, 8.6%) |
| CIE-LAB | lab(59.23, 47.91, -50.97) |
| CIE-LCH | lch(59.23, 69.95, 313.23°) |
| OKLab | oklab(66.85% 0.1102 -0.1429) |
| OKLCH | oklch(66.85% 0.18 307.6) |
| XYZ | xyz(39.2006, 27.2776, 80.2750) |
| Luminance | 0.2728 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.08
Light Purple
#BF77F6
ΔE00 2.92
Easter Purple
#C071FE
ΔE00 3.33
Bright Lavender
#C760FF
ΔE00 4.90
Bright Lilac
#C95EFB
ΔE00 5.08
Mediumpurple
#9370DB
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B371E9 #A7E971
analogous
#7771E9 #B371E9 #E971E3
triadic
#B371E9 #E9B371 #71E9B3
tetradic
#B371E9 #E97771 #A7E971 #71E3E9
square
#B371E9 #E97771 #A7E971 #71E3E9
split-complementary
#B371E9 #E3E971 #71E977
monochromatic
#781EC2 #973CE1 #B371E9 #CFA6F1 #ECDBF9
Accessibility & contrast
On white
3.25
#B371E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.46
#B371E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B371E9
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B371E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B371E9 | 1.00 | 3.25 | 6.46 | 6.46 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E8CED
Deuteranopia (green-blind)
#628FE6
Tritanopia (blue-blind)
#AB86A3
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #b371e9; /* rgb */ color: rgb(179, 113, 233); /* oklch */ color: oklch(66.9% 0.180 307.6);
Tailwind
colors: {
custom: {
50: '#cc9cf0',
500: '#b371e9',
950: '#000000',
},
}SCSS
$custom: #b371e9; $custom-light: #cc9cf0; $custom-dark: #000000;
JSON
{
"hex": "#b371e9",
"rgb": {
"r": 179,
"g": 113,
"b": 233
},
"hsl": {
"h": 273,
"s": 73.171,
"l": 67.843
},
"oklch": {
"l": 0.66853,
"c": 0.18048,
"h": 307.6
},
"luminance": 0.27277
}Semantic roles & 50–950 ramp
primary
#B371E9
secondary
#D9EDC8
accent
#D51069
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85