#B381DB#B381DB
#B381DB is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.7% C 0.138 H 308.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B381DB |
|---|---|
| RGB | rgb(179, 129, 219) |
| HSL | hsl(273, 56%, 68%) |
| HSV | hsv(273, 41%, 86%) |
| CMYK | cmyk(18.3%, 41.1%, 0%, 14.1%) |
| CIE-LAB | lab(62.00, 36.06, -38.80) |
| CIE-LCH | lch(62.00, 52.97, 312.91°) |
| OKLab | oklab(68.7% 0.0864 -0.1077) |
| OKLCH | oklch(68.7% 0.138 308.7) |
| XYZ | xyz(39.2244, 30.3992, 70.8054) |
| Luminance | 0.3040 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 4.66
Pale Purple
#B790D4
ΔE00 5.12
Light Purple
#BF77F6
ΔE00 5.30
Liliac
#C48EFD
ΔE00 5.99
Light Urple
#B36FF6
ΔE00 6.71
Easter Purple
#C071FE
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B381DB #A9DB81
analogous
#8681DB #B381DB #DB81D6
triadic
#B381DB #DBB381 #81DBB3
tetradic
#B381DB #DB8681 #A9DB81 #81D6DB
square
#B381DB #DB8681 #A9DB81 #81D6DB
split-complementary
#B381DB #D6DB81 #81DB86
monochromatic
#7832AF #9651CD #B381DB #D0B1E9 #ECE0F6
Accessibility & contrast
On white
2.97
#B381DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.08
#B381DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B381DB
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B381DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B381DB | 1.00 | 2.97 | 7.08 | 7.08 |
| #FFFFFF | 2.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E94DE
Deuteranopia (green-blind)
#7A97D9
Tritanopia (blue-blind)
#AE8FA4
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b381db; /* rgb */ color: rgb(179, 129, 219); /* oklch */ color: oklch(68.7% 0.138 308.7);
Tailwind
colors: {
custom: {
50: '#cba6e6',
500: '#b381db',
950: '#000000',
},
}SCSS
$custom: #b381db; $custom-light: #cba6e6; $custom-dark: #000000;
JSON
{
"hex": "#b381db",
"rgb": {
"r": 179,
"g": 129,
"b": 219
},
"hsl": {
"h": 273.333,
"s": 55.556,
"l": 68.235
},
"oklch": {
"l": 0.68697,
"c": 0.13801,
"h": 308.7
},
"luminance": 0.30399
}Semantic roles & 50–950 ramp
primary
#B381DB
secondary
#DAEACE
accent
#C3226A
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84