#B381F6#B381F6
#B381F6 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.1% C 0.171 H 301.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #B381F6 |
|---|---|
| RGB | rgb(179, 129, 246) |
| HSL | hsl(266, 87%, 74%) |
| HSV | hsv(266, 48%, 96%) |
| CMYK | cmyk(27.2%, 47.6%, 0%, 3.5%) |
| CIE-LAB | lab(63.29, 42.28, -51.73) |
| CIE-LCH | lch(63.29, 66.80, 309.26°) |
| OKLab | oklab(70.09% 0.0904 -0.1452) |
| OKLCH | oklch(70.09% 0.171 301.9) |
| XYZ | xyz(43.0715, 31.9380, 91.0664) |
| Luminance | 0.3194 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.37
Liliac
#C48EFD
ΔE00 4.24
Light Urple
#B36FF6
ΔE00 4.41
Easter Purple
#C071FE
ΔE00 4.42
Bright Lavender
#C760FF
ΔE00 7.65
Mediumpurple
#9370DB
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B381F6 #C4F681
analogous
#8189F6 #B381F6 #ED81F6
triadic
#B381F6 #F6B381 #81F6B3
tetradic
#B381F6 #F68189 #C4F681 #81F6ED
square
#B381F6 #F68189 #C4F681 #81F6ED
split-complementary
#B381F6 #F6ED81 #89F681
monochromatic
#6E11EC #9148F2 #B381F6 #D5BAFA #EEE2FD
Accessibility & contrast
On white
2.84
#B381F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#B381F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B381F6
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B381F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B381F6 | 1.00 | 2.84 | 7.39 | 7.39 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E98FA
Deuteranopia (green-blind)
#6A99F3
Tritanopia (blue-blind)
#A796B0
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #b381f6; /* rgb */ color: rgb(179, 129, 246); /* oklch */ color: oklch(70.1% 0.171 301.9);
Tailwind
colors: {
custom: {
50: '#cca6fa',
500: '#b381f6',
950: '#000000',
},
}SCSS
$custom: #b381f6; $custom-light: #cca6fa; $custom-dark: #000000;
JSON
{
"hex": "#b381f6",
"rgb": {
"r": 179,
"g": 129,
"b": 246
},
"hsl": {
"h": 265.641,
"s": 86.667,
"l": 73.529
},
"oklch": {
"l": 0.7009,
"c": 0.17102,
"h": 301.9
},
"luminance": 0.31938
}Semantic roles & 50–950 ramp
primary
#B381F6
secondary
#E8F5D6
accent
#E30283
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85