#A28BB2#A28BB2
#A28BB2 is a light, moderate violet. Relative luminance 0.294; OKLCH L 67.1% C 0.062 H 311.2°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A28BB2 |
|---|---|
| RGB | rgb(162, 139, 178) |
| HSL | hsl(275, 20%, 62%) |
| HSV | hsv(275, 22%, 70%) |
| CMYK | cmyk(9%, 21.9%, 0%, 30.2%) |
| CIE-LAB | lab(61.10, 16.12, -17.23) |
| CIE-LCH | lch(61.10, 23.59, 313.09°) |
| OKLab | oklab(67.09% 0.041 -0.0467) |
| OKLCH | oklch(67.09% 0.062 311.2) |
| XYZ | xyz(32.1674, 29.3613, 46.0835) |
| Luminance | 0.2936 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 2.91
Dusty Lavender
#AC86A8
ΔE00 4.77
Purpley Grey
#947E94
ΔE00 7.39
Wisteria
#A87DC2
ΔE00 7.67
Pale Purple
#B790D4
ΔE00 7.80
Lavender
#B39DDB
ΔE00 8.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A28BB2 #9BB28B
analogous
#8F8BB2 #A28BB2 #B28BAE
triadic
#A28BB2 #B2A28B #8BB2A2
tetradic
#A28BB2 #B28F8B #9BB28B #8BAEB2
square
#A28BB2 #B28F8B #9BB28B #8BAEB2
split-complementary
#A28BB2 #AEB28B #8BB28F
monochromatic
#654E75 #85669A #A28BB2 #BFB0CA #DDD5E3
Accessibility & contrast
On white
3.06
#A28BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.87
#A28BB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A28BB2
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A28BB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A28BB2 | 1.00 | 3.06 | 6.87 | 6.87 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8592B4
Deuteranopia (green-blind)
#8A94B1
Tritanopia (blue-blind)
#A19098
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #a28bb2; /* rgb */ color: rgb(162, 139, 178); /* oklch */ color: oklch(67.1% 0.062 311.2);
Tailwind
colors: {
custom: {
50: '#bdadc9',
500: '#a28bb2',
950: '#000000',
},
}SCSS
$custom: #a28bb2; $custom-light: #bdadc9; $custom-dark: #000000;
JSON
{
"hex": "#a28bb2",
"rgb": {
"r": 162,
"g": 139,
"b": 178
},
"hsl": {
"h": 275.385,
"s": 20.207,
"l": 62.157
},
"oklch": {
"l": 0.67086,
"c": 0.06215,
"h": 311.2
},
"luminance": 0.29361
}Semantic roles & 50–950 ramp
primary
#A28BB2
secondary
#CBD4C5
accent
#9F476B
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#121013
muted
#817F82