#B28CD4#B28CD4
#B28CD4 is a light, moderate violet. Relative luminance 0.330; OKLCH L 70.2% C 0.110 H 307.9°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #B28CD4 |
|---|---|
| RGB | rgb(178, 140, 212) |
| HSL | hsl(272, 46%, 69%) |
| HSV | hsv(272, 34%, 83%) |
| CMYK | cmyk(16%, 34%, 0%, 16.9%) |
| CIE-LAB | lab(64.14, 28.07, -31.56) |
| CIE-LCH | lch(64.14, 42.24, 311.65°) |
| OKLab | oklab(70.2% 0.0678 -0.087) |
| OKLCH | oklch(70.2% 0.11 307.9) |
| XYZ | xyz(39.6196, 32.9750, 66.5522) |
| Luminance | 0.3297 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 1.58
Wisteria
#A87DC2
ΔE00 4.80
Lavender
#B39DDB
ΔE00 5.13
Lavender (survey)
#C79FEF
ΔE00 6.11
Baby Purple
#CA9BF7
ΔE00 6.62
Liliac
#C48EFD
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B28CD4 #AED48C
analogous
#8E8CD4 #B28CD4 #D48CD2
triadic
#B28CD4 #D4B28C #8CD4B2
tetradic
#B28CD4 #D48E8C #AED48C #8CD2D4
square
#B28CD4 #D48E8C #AED48C #8CD2D4
split-complementary
#B28CD4 #D2D48C #8CD48E
monochromatic
#763EA7 #945FC3 #B28CD4 #D0B9E5 #EEE5F5
Accessibility & contrast
On white
2.76
#B28CD4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#B28CD4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B28CD4
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B28CD4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B28CD4 | 1.00 | 2.76 | 7.59 | 7.59 |
| #FFFFFF | 2.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E9AD7
Deuteranopia (green-blind)
#869CD2
Tritanopia (blue-blind)
#AE96A6
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #b28cd4; /* rgb */ color: rgb(178, 140, 212); /* oklch */ color: oklch(70.2% 0.110 307.9);
Tailwind
colors: {
custom: {
50: '#caaee1',
500: '#b28cd4',
950: '#000000',
},
}SCSS
$custom: #b28cd4; $custom-light: #caaee1; $custom-dark: #000000;
JSON
{
"hex": "#b28cd4",
"rgb": {
"r": 178,
"g": 140,
"b": 212
},
"hsl": {
"h": 271.667,
"s": 45.57,
"l": 69.02
},
"oklch": {
"l": 0.70199,
"c": 0.11027,
"h": 307.9
},
"luminance": 0.32975
}Semantic roles & 50–950 ramp
primary
#B28CD4
secondary
#DDE8D3
accent
#B92D6F
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83