#B281DB#B281DB
#B281DB is a light, vivid violet. Relative luminance 0.303; OKLCH L 68.6% C 0.138 H 308.2°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #B281DB |
|---|---|
| RGB | rgb(178, 129, 219) |
| HSL | hsl(273, 56%, 68%) |
| HSV | hsv(273, 41%, 86%) |
| CMYK | cmyk(18.7%, 41.1%, 0%, 14.1%) |
| CIE-LAB | lab(61.90, 35.77, -38.96) |
| CIE-LCH | lch(61.90, 52.89, 312.55°) |
| OKLab | oklab(68.6% 0.0852 -0.1082) |
| OKLCH | oklch(68.6% 0.138 308.2) |
| XYZ | xyz(38.9941, 30.2804, 70.7946) |
| Luminance | 0.3028 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 4.65
Pale Purple
#B790D4
ΔE00 5.18
Light Purple
#BF77F6
ΔE00 5.33
Liliac
#C48EFD
ΔE00 6.03
Light Urple
#B36FF6
ΔE00 6.66
Easter Purple
#C071FE
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B281DB #AADB81
analogous
#8581DB #B281DB #DB81D7
triadic
#B281DB #DBB281 #81DBB2
tetradic
#B281DB #DB8581 #AADB81 #81D7DB
square
#B281DB #DB8581 #AADB81 #81D7DB
split-complementary
#B281DB #D7DB81 #81DB85
monochromatic
#7632AF #9551CD #B281DB #CFB1E9 #ECE0F6
Accessibility & contrast
On white
2.98
#B281DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.06
#B281DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B281DB
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B281DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B281DB | 1.00 | 2.98 | 7.06 | 7.06 |
| #FFFFFF | 2.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D93DE
Deuteranopia (green-blind)
#7996D9
Tritanopia (blue-blind)
#AD8FA4
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b281db; /* rgb */ color: rgb(178, 129, 219); /* oklch */ color: oklch(68.6% 0.138 308.2);
Tailwind
colors: {
custom: {
50: '#caa6e6',
500: '#b281db',
950: '#000000',
},
}SCSS
$custom: #b281db; $custom-light: #caa6e6; $custom-dark: #000000;
JSON
{
"hex": "#b281db",
"rgb": {
"r": 178,
"g": 129,
"b": 219
},
"hsl": {
"h": 272.667,
"s": 55.556,
"l": 68.235
},
"oklch": {
"l": 0.68597,
"c": 0.13767,
"h": 308.2
},
"luminance": 0.3028
}Semantic roles & 50–950 ramp
primary
#B281DB
secondary
#DBEACE
accent
#C3226C
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#130F16
muted
#827F84