#B781DB#B781DB
#B781DB is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.1% C 0.140 H 310.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B781DB |
|---|---|
| RGB | rgb(183, 129, 219) |
| HSL | hsl(276, 56%, 68%) |
| HSV | hsv(276, 41%, 86%) |
| CMYK | cmyk(16.4%, 41.1%, 0%, 14.1%) |
| CIE-LAB | lab(62.41, 37.23, -38.12) |
| CIE-LCH | lch(62.41, 53.29, 314.32°) |
| OKLab | oklab(69.1% 0.0911 -0.1056) |
| OKLCH | oklch(69.1% 0.14 310.8) |
| XYZ | xyz(40.1626, 30.8829, 70.8493) |
| Luminance | 0.3088 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 4.80
Pale Purple
#B790D4
ΔE00 4.99
Light Purple
#BF77F6
ΔE00 5.26
Liliac
#C48EFD
ΔE00 5.93
Easter Purple
#C071FE
ΔE00 6.92
Light Urple
#B36FF6
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B781DB #A5DB81
analogous
#8A81DB #B781DB #DB81D2
triadic
#B781DB #DBB781 #81DBB7
tetradic
#B781DB #DB8A81 #A5DB81 #81D2DB
square
#B781DB #DB8A81 #A5DB81 #81D2DB
split-complementary
#B781DB #D2DB81 #81DB8A
monochromatic
#7D32AF #9C51CD #B781DB #D2B1E9 #EDE0F6
Accessibility & contrast
On white
2.93
#B781DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#B781DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B781DB
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B781DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B781DB | 1.00 | 2.93 | 7.18 | 7.18 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F94DE
Deuteranopia (green-blind)
#7C98D8
Tritanopia (blue-blind)
#B38EA4
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b781db; /* rgb */ color: rgb(183, 129, 219); /* oklch */ color: oklch(69.1% 0.140 310.8);
Tailwind
colors: {
custom: {
50: '#cea6e6',
500: '#b781db',
950: '#000000',
},
}SCSS
$custom: #b781db; $custom-light: #cea6e6; $custom-dark: #000000;
JSON
{
"hex": "#b781db",
"rgb": {
"r": 183,
"g": 129,
"b": 219
},
"hsl": {
"h": 276,
"s": 55.556,
"l": 68.235
},
"oklch": {
"l": 0.69101,
"c": 0.1395,
"h": 310.8
},
"luminance": 0.30882
}Semantic roles & 50–950 ramp
primary
#B781DB
secondary
#D9EACE
accent
#C32263
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#140F16
muted
#827F84