#B284DB#B284DB
#B284DB is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.1% C 0.133 H 307.6°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B284DB |
|---|---|
| RGB | rgb(178, 132, 219) |
| HSL | hsl(272, 55%, 69%) |
| HSV | hsv(272, 40%, 86%) |
| CMYK | cmyk(18.7%, 39.7%, 0%, 14.1%) |
| CIE-LAB | lab(62.58, 34.10, -37.90) |
| CIE-LCH | lch(62.58, 50.98, 311.98°) |
| OKLab | oklab(69.11% 0.0809 -0.1051) |
| OKLCH | oklch(69.11% 0.133 307.6) |
| XYZ | xyz(39.3951, 31.0824, 70.9282) |
| Luminance | 0.3108 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.43
Wisteria
#A87DC2
ΔE00 4.71
Liliac
#C48EFD
ΔE00 5.79
Light Purple
#BF77F6
ΔE00 5.88
Baby Purple
#CA9BF7
ΔE00 7.08
Light Urple
#B36FF6
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B284DB #ADDB84
analogous
#8784DB #B284DB #DB84D9
triadic
#B284DB #DBB284 #84DBB2
tetradic
#B284DB #DB8784 #ADDB84 #84D9DB
square
#B284DB #DB8784 #ADDB84 #84D9DB
split-complementary
#B284DB #D9DB84 #84DB87
monochromatic
#7634B1 #9455CD #B284DB #D0B3E9 #EDE3F7
Accessibility & contrast
On white
2.91
#B284DB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#B284DB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B284DB
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B284DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B284DB | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7195DE
Deuteranopia (green-blind)
#7C98D9
Tritanopia (blue-blind)
#AC91A5
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b284db; /* rgb */ color: rgb(178, 132, 219); /* oklch */ color: oklch(69.1% 0.133 307.6);
Tailwind
colors: {
custom: {
50: '#caa8e6',
500: '#b284db',
950: '#000000',
},
}SCSS
$custom: #b284db; $custom-light: #caa8e6; $custom-dark: #000000;
JSON
{
"hex": "#b284db",
"rgb": {
"r": 178,
"g": 132,
"b": 219
},
"hsl": {
"h": 271.724,
"s": 54.717,
"l": 68.824
},
"oklch": {
"l": 0.69111,
"c": 0.13262,
"h": 307.6
},
"luminance": 0.31082
}Semantic roles & 50–950 ramp
primary
#B284DB
secondary
#DDEAD1
accent
#C2236E
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#131016
muted
#827F84