#B381DD#B381DD
#B381DD is a light, vivid violet. Relative luminance 0.305; OKLCH L 68.8% C 0.140 H 308.1°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #B381DD |
|---|---|
| RGB | rgb(179, 129, 221) |
| HSL | hsl(273, 58%, 69%) |
| HSV | hsv(273, 42%, 87%) |
| CMYK | cmyk(19%, 41.6%, 0%, 13.3%) |
| CIE-LAB | lab(62.09, 36.51, -39.77) |
| CIE-LCH | lch(62.09, 53.99, 312.55°) |
| OKLab | oklab(68.79% 0.0867 -0.1105) |
| OKLCH | oklch(68.79% 0.14 308.1) |
| XYZ | xyz(39.4893, 30.5051, 72.2003) |
| Luminance | 0.3050 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 5.00
Light Purple
#BF77F6
ΔE00 5.01
Pale Purple
#B790D4
ΔE00 5.35
Liliac
#C48EFD
ΔE00 5.73
Light Urple
#B36FF6
ΔE00 6.42
Easter Purple
#C071FE
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B381DD #ABDD81
analogous
#8581DD #B381DD #DD81D9
triadic
#B381DD #DDB381 #81DDB3
tetradic
#B381DD #DD8581 #ABDD81 #81D9DD
square
#B381DD #DD8581 #ABDD81 #81D9DD
split-complementary
#B381DD #D9DD81 #81DD85
monochromatic
#7730B3 #9651D0 #B381DD #D0B1EA #EDE1F7
Accessibility & contrast
On white
2.96
#B381DD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#B381DD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B381DD
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B381DD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B381DD | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D94E0
Deuteranopia (green-blind)
#7997DA
Tritanopia (blue-blind)
#AD8FA4
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b381dd; /* rgb */ color: rgb(179, 129, 221); /* oklch */ color: oklch(68.8% 0.140 308.1);
Tailwind
colors: {
custom: {
50: '#cba6e8',
500: '#b381dd',
950: '#000000',
},
}SCSS
$custom: #b381dd; $custom-light: #cba6e8; $custom-dark: #000000;
JSON
{
"hex": "#b381dd",
"rgb": {
"r": 179,
"g": 129,
"b": 221
},
"hsl": {
"h": 272.609,
"s": 57.5,
"l": 68.627
},
"oklch": {
"l": 0.68794,
"c": 0.14045,
"h": 308.1
},
"luminance": 0.30505
}Semantic roles & 50–950 ramp
primary
#B381DD
secondary
#DCEBCF
accent
#C5206C
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84