#B381E7#B381E7
#B381E7 is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.3% C 0.153 H 305.4°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B381E7 |
|---|---|
| RGB | rgb(179, 129, 231) |
| HSL | hsl(269, 68%, 71%) |
| HSV | hsv(269, 44%, 91%) |
| CMYK | cmyk(22.5%, 44.2%, 0%, 9.4%) |
| CIE-LAB | lab(62.55, 38.77, -44.60) |
| CIE-LCH | lch(62.55, 59.10, 311.00°) |
| OKLab | oklab(69.3% 0.0884 -0.1245) |
| OKLCH | oklch(69.3% 0.153 305.4) |
| XYZ | xyz(40.8615, 31.0540, 79.4272) |
| Luminance | 0.3105 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.83
Liliac
#C48EFD
ΔE00 4.71
Light Urple
#B36FF6
ΔE00 5.22
Easter Purple
#C071FE
ΔE00 5.39
Pale Purple
#B790D4
ΔE00 6.60
Wisteria
#A87DC2
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B381E7 #B5E781
analogous
#8182E7 #B381E7 #E681E7
triadic
#B381E7 #E7B381 #81E7B3
tetradic
#B381E7 #E78182 #B5E781 #81E7E6
square
#B381E7 #E78182 #B5E781 #81E7E6
split-complementary
#B381E7 #E7E681 #82E781
monochromatic
#7526C8 #944EDD #B381E7 #D2B4F1 #EFE5FA
Accessibility & contrast
On white
2.91
#B381E7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#B381E7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B381E7
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B381E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B381E7 | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6796EB
Deuteranopia (green-blind)
#7398E4
Tritanopia (blue-blind)
#AB92A9
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b381e7; /* rgb */ color: rgb(179, 129, 231); /* oklch */ color: oklch(69.3% 0.153 305.4);
Tailwind
colors: {
custom: {
50: '#cca6ef',
500: '#b381e7',
950: '#000000',
},
}SCSS
$custom: #b381e7; $custom-light: #cca6ef; $custom-dark: #000000;
JSON
{
"hex": "#b381e7",
"rgb": {
"r": 179,
"g": 129,
"b": 231
},
"hsl": {
"h": 269.412,
"s": 68,
"l": 70.588
},
"oklch": {
"l": 0.69297,
"c": 0.15265,
"h": 305.4
},
"luminance": 0.31054
}Semantic roles & 50–950 ramp
primary
#B381E7
secondary
#E2F0D4
accent
#D01675
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84