#B381F5#B381F5
#B381F5 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.0% C 0.170 H 302.1°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #B381F5 |
|---|---|
| RGB | rgb(179, 129, 245) |
| HSL | hsl(266, 85%, 73%) |
| HSV | hsv(266, 47%, 96%) |
| CMYK | cmyk(26.9%, 47.3%, 0%, 3.9%) |
| CIE-LAB | lab(63.24, 42.04, -51.26) |
| CIE-LCH | lch(63.24, 66.29, 309.36°) |
| OKLab | oklab(70.04% 0.0903 -0.1438) |
| OKLCH | oklch(70.04% 0.17 302.1) |
| XYZ | xyz(42.9184, 31.8767, 90.2603) |
| Luminance | 0.3188 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.35
Liliac
#C48EFD
ΔE00 4.23
Light Urple
#B36FF6
ΔE00 4.42
Easter Purple
#C071FE
ΔE00 4.44
Bright Lavender
#C760FF
ΔE00 7.67
Mediumpurple
#9370DB
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B381F5 #C3F581
analogous
#8189F5 #B381F5 #ED81F5
triadic
#B381F5 #F5B381 #81F5B3
tetradic
#B381F5 #F58189 #C3F581 #81F5ED
square
#B381F5 #F58189 #C3F581 #81F5ED
split-complementary
#B381F5 #F5ED81 #89F581
monochromatic
#6F13E9 #9148F0 #B381F5 #D5BAF9 #EEE3FD
Accessibility & contrast
On white
2.85
#B381F5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.38
#B381F5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B381F5
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B381F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B381F5 | 1.00 | 2.85 | 7.38 | 7.38 |
| #FFFFFF | 2.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E98F9
Deuteranopia (green-blind)
#6B99F2
Tritanopia (blue-blind)
#A796AF
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b381f5; /* rgb */ color: rgb(179, 129, 245); /* oklch */ color: oklch(70.0% 0.170 302.1);
Tailwind
colors: {
custom: {
50: '#cca6f9',
500: '#b381f5',
950: '#000000',
},
}SCSS
$custom: #b381f5; $custom-light: #cca6f9; $custom-dark: #000000;
JSON
{
"hex": "#b381f5",
"rgb": {
"r": 179,
"g": 129,
"b": 245
},
"hsl": {
"h": 265.862,
"s": 85.294,
"l": 73.333
},
"oklch": {
"l": 0.70036,
"c": 0.16979,
"h": 302.1
},
"luminance": 0.31877
}Semantic roles & 50–950 ramp
primary
#B381F5
secondary
#E8F5D6
accent
#E20482
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85