#A28FC2#A28FC2
#A28FC2 is a light, moderate violet. Relative luminance 0.312; OKLCH L 68.5% C 0.077 H 301.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A28FC2 |
|---|---|
| RGB | rgb(162, 143, 194) |
| HSL | hsl(262, 29%, 66%) |
| HSV | hsv(262, 26%, 76%) |
| CMYK | cmyk(16.5%, 26.3%, 0%, 23.9%) |
| CIE-LAB | lab(62.69, 17.33, -23.83) |
| CIE-LCH | lch(62.69, 29.46, 306.02°) |
| OKLab | oklab(68.51% 0.04 -0.0653) |
| OKLCH | oklch(68.51% 0.077 301.5) |
| XYZ | xyz(34.4584, 31.2213, 55.2394) |
| Luminance | 0.3122 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 5.37
Pale Purple
#B790D4
ΔE00 5.43
Heather
#A484AC
ΔE00 6.11
Wisteria
#A87DC2
ΔE00 6.68
Dusty Lavender
#AC86A8
ΔE00 8.25
Lavender (survey)
#C79FEF
ΔE00 9.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A28FC2 #AFC28F
analogous
#8F95C2 #A28FC2 #BB8FC2
triadic
#A28FC2 #C2A28F #8FC2A2
tetradic
#A28FC2 #C28F95 #AFC28F #8FC2BB
square
#A28FC2 #C28F95 #AFC28F #8FC2BB
split-complementary
#A28FC2 #C2BB8F #95C28F
monochromatic
#634C8B #8167AC #A28FC2 #C3B7D8 #E4DEED
Accessibility & contrast
On white
2.90
#A28FC2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#A28FC2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A28FC2
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A28FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A28FC2 | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8597C4
Deuteranopia (green-blind)
#8897C1
Tritanopia (blue-blind)
#9D96A1
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #a28fc2; /* rgb */ color: rgb(162, 143, 194); /* oklch */ color: oklch(68.5% 0.077 301.5);
Tailwind
colors: {
custom: {
50: '#beafd4',
500: '#a28fc2',
950: '#000000',
},
}SCSS
$custom: #a28fc2; $custom-light: #beafd4; $custom-dark: #000000;
JSON
{
"hex": "#a28fc2",
"rgb": {
"r": 162,
"g": 143,
"b": 194
},
"hsl": {
"h": 262.353,
"s": 29.48,
"l": 66.078
},
"oklch": {
"l": 0.68509,
"c": 0.07654,
"h": 301.5
},
"luminance": 0.31221
}Semantic roles & 50–950 ramp
primary
#A28FC2
secondary
#D9DFCE
accent
#A83D80
background
#FBFAFD
surface
#F7F4FA
border
#D0CED3
text
#121014
muted
#817F83