#A28CB2#A28CB2
#A28CB2 is a light, moderate violet. Relative luminance 0.297; OKLCH L 67.3% C 0.060 H 310.8°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A28CB2 |
|---|---|
| RGB | rgb(162, 140, 178) |
| HSL | hsl(275, 20%, 62%) |
| HSV | hsv(275, 21%, 70%) |
| CMYK | cmyk(9%, 21.3%, 0%, 30.2%) |
| CIE-LAB | lab(61.35, 15.55, -16.85) |
| CIE-LCH | lch(61.35, 22.92, 312.70°) |
| OKLab | oklab(67.28% 0.0394 -0.0457) |
| OKLCH | oklch(67.28% 0.06 310.8) |
| XYZ | xyz(32.3129, 29.6522, 46.1320) |
| Luminance | 0.2965 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Heather
#A484AC
ΔE00 3.26
Dusty Lavender
#AC86A8
ΔE00 4.93
Purpley Grey
#947E94
ΔE00 7.36
Pale Purple
#B790D4
ΔE00 7.99
Wisteria
#A87DC2
ΔE00 8.05
Lavender
#B39DDB
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A28CB2 #9CB28C
analogous
#8F8CB2 #A28CB2 #B28CAF
triadic
#A28CB2 #B2A28C #8CB2A2
tetradic
#A28CB2 #B28F8C #9CB28C #8CAFB2
square
#A28CB2 #B28F8C #9CB28C #8CAFB2
split-complementary
#A28CB2 #AFB28C #8CB28F
monochromatic
#654E75 #846799 #A28CB2 #C0B1CB #DDD5E3
Accessibility & contrast
On white
3.03
#A28CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.93
#A28CB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A28CB2
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A28CB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A28CB2 | 1.00 | 3.03 | 6.93 | 6.93 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8693B4
Deuteranopia (green-blind)
#8B95B1
Tritanopia (blue-blind)
#A09199
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a28cb2; /* rgb */ color: rgb(162, 140, 178); /* oklch */ color: oklch(67.3% 0.060 310.8);
Tailwind
colors: {
custom: {
50: '#bdadc9',
500: '#a28cb2',
950: '#000000',
},
}SCSS
$custom: #a28cb2; $custom-light: #bdadc9; $custom-dark: #000000;
JSON
{
"hex": "#a28cb2",
"rgb": {
"r": 162,
"g": 140,
"b": 178
},
"hsl": {
"h": 274.737,
"s": 19.792,
"l": 62.353
},
"oklch": {
"l": 0.67282,
"c": 0.06034,
"h": 310.8
},
"luminance": 0.29652
}Semantic roles & 50–950 ramp
primary
#A28CB2
secondary
#CCD4C6
accent
#9E476C
background
#FBFAFC
surface
#F6F4F8
border
#D0CED1
text
#121013
muted
#817F82