#B28AE0#B28AE0
#B28AE0 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.4% C 0.129 H 304.7°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #B28AE0 |
|---|---|
| RGB | rgb(178, 138, 224) |
| HSL | hsl(268, 58%, 71%) |
| HSV | hsv(268, 38%, 88%) |
| CMYK | cmyk(20.5%, 38.4%, 0%, 12.2%) |
| CIE-LAB | lab(64.18, 31.88, -38.17) |
| CIE-LCH | lch(64.18, 49.73, 309.87°) |
| OKLab | oklab(70.4% 0.0734 -0.1059) |
| OKLCH | oklch(70.4% 0.129 304.7) |
| XYZ | xyz(40.9004, 33.0239, 74.7261) |
| Luminance | 0.3302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 3.93
Liliac
#C48EFD
ΔE00 4.95
Baby Purple
#CA9BF7
ΔE00 5.81
Wisteria
#A87DC2
ΔE00 5.97
Lavender (survey)
#C79FEF
ΔE00 6.11
Lavender
#B39DDB
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B28AE0 #B8E08A
analogous
#8A8DE0 #B28AE0 #DD8AE0
triadic
#B28AE0 #E0B28A #8AE0B2
tetradic
#B28AE0 #E08A8D #B8E08A #8AE0DD
square
#B28AE0 #E08A8D #B8E08A #8AE0DD
split-complementary
#B28AE0 #E0DD8A #8DE08A
monochromatic
#7332BD #925AD3 #B28AE0 #D2BAED #EFE7F9
Accessibility & contrast
On white
2.76
#B28AE0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.60
#B28AE0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B28AE0
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B28AE0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B28AE0 | 1.00 | 2.76 | 7.60 | 7.60 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#769AE3
Deuteranopia (green-blind)
#7F9CDE
Tritanopia (blue-blind)
#AB97AA
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #b28ae0; /* rgb */ color: rgb(178, 138, 224); /* oklch */ color: oklch(70.4% 0.129 304.7);
Tailwind
colors: {
custom: {
50: '#caacea',
500: '#b28ae0',
950: '#000000',
},
}SCSS
$custom: #b28ae0; $custom-light: #caacea; $custom-dark: #000000;
JSON
{
"hex": "#b28ae0",
"rgb": {
"r": 178,
"g": 138,
"b": 224
},
"hsl": {
"h": 267.907,
"s": 58.108,
"l": 70.98
},
"oklch": {
"l": 0.70396,
"c": 0.12886,
"h": 304.7
},
"luminance": 0.33024
}Semantic roles & 50–950 ramp
primary
#B28AE0
secondary
#E4EED7
accent
#C62079
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#131016
muted
#827F84