#B28FDA#B28FDA
#B28FDA is a light, moderate violet. Relative luminance 0.342; OKLCH L 71.0% C 0.113 H 305.1°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #B28FDA |
|---|---|
| RGB | rgb(178, 143, 218) |
| HSL | hsl(268, 50%, 71%) |
| HSV | hsv(268, 34%, 85%) |
| CMYK | cmyk(18.3%, 34.4%, 0%, 14.5%) |
| CIE-LAB | lab(65.10, 27.72, -33.41) |
| CIE-LCH | lch(65.10, 43.41, 309.68°) |
| OKLab | oklab(71.01% 0.0649 -0.0923) |
| OKLCH | oklch(71.01% 0.113 305.1) |
| XYZ | xyz(40.8349, 34.1720, 70.7607) |
| Luminance | 0.3417 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.18
Lavender
#B39DDB
ΔE00 4.37
Lavender (survey)
#C79FEF
ΔE00 5.26
Baby Purple
#CA9BF7
ΔE00 5.73
Wisteria
#A87DC2
ΔE00 5.96
Liliac
#C48EFD
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B28FDA #B7DA8F
analogous
#8F91DA #B28FDA #D78FDA
triadic
#B28FDA #DAB28F #8FDAB2
tetradic
#B28FDA #DA8F91 #B7DA8F #8FDAD7
square
#B28FDA #DA8F91 #B7DA8F #8FDAD7
split-complementary
#B28FDA #DAD78F #91DA8F
monochromatic
#733BB3 #9261CB #B28FDA #D2BDE9 #EFE8F7
Accessibility & contrast
On white
2.68
#B28FDA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#B28FDA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B28FDA
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B28FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B28FDA | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F9DDD
Deuteranopia (green-blind)
#869ED8
Tritanopia (blue-blind)
#AC9AAB
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b28fda; /* rgb */ color: rgb(178, 143, 218); /* oklch */ color: oklch(71.0% 0.113 305.1);
Tailwind
colors: {
custom: {
50: '#cab0e5',
500: '#b28fda',
950: '#000000',
},
}SCSS
$custom: #b28fda; $custom-light: #cab0e5; $custom-dark: #000000;
JSON
{
"hex": "#b28fda",
"rgb": {
"r": 178,
"g": 143,
"b": 218
},
"hsl": {
"h": 268,
"s": 50.336,
"l": 70.784
},
"oklch": {
"l": 0.7101,
"c": 0.1128,
"h": 305.1
},
"luminance": 0.34172
}Semantic roles & 50–950 ramp
primary
#B28FDA
secondary
#E3ECD8
accent
#BE2878
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84