#A893E4#A893E4
#A893E4 is a light, moderate violet. Relative luminance 0.348; OKLCH L 71.3% C 0.118 H 295.2°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A893E4 |
|---|---|
| RGB | rgb(168, 147, 228) |
| HSL | hsl(256, 60%, 74%) |
| HSV | hsv(256, 36%, 89%) |
| CMYK | cmyk(26.3%, 35.5%, 0%, 10.6%) |
| CIE-LAB | lab(65.59, 24.83, -38.26) |
| CIE-LCH | lch(65.59, 45.61, 302.99°) |
| OKLab | oklab(71.31% 0.05 -0.1064) |
| OKLCH | oklch(71.31% 0.118 295.2) |
| XYZ | xyz(40.5824, 34.7932, 77.9614) |
| Luminance | 0.3479 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lavender
#B39DDB
ΔE00 4.93
Perrywinkle
#8F8CE7
ΔE00 5.91
Pale Purple
#B790D4
ΔE00 5.94
Lavender (survey)
#C79FEF
ΔE00 6.47
Liliac
#C48EFD
ΔE00 6.67
Baby Purple
#CA9BF7
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A893E4 #CFE493
analogous
#93A6E4 #A893E4 #D093E4
triadic
#A893E4 #E4A893 #93E4A8
tetradic
#A893E4 #E493A6 #CFE493 #93E4D0
square
#A893E4 #E493A6 #CFE493 #93E4D0
split-complementary
#A893E4 #E4D093 #A6E493
monochromatic
#5A33CA #8162D8 #A893E4 #CFC4F0 #EBE7F9
Accessibility & contrast
On white
2.64
#A893E4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.96
#A893E4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A893E4
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A893E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A893E4 | 1.00 | 2.64 | 7.96 | 7.96 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EA0E7
Deuteranopia (green-blind)
#819EE2
Tritanopia (blue-blind)
#9CA1B1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a893e4; /* rgb */ color: rgb(168, 147, 228); /* oklch */ color: oklch(71.3% 0.118 295.2);
Tailwind
colors: {
custom: {
50: '#c3b2ed',
500: '#a893e4',
950: '#000000',
},
}SCSS
$custom: #a893e4; $custom-light: #c3b2ed; $custom-dark: #000000;
JSON
{
"hex": "#a893e4",
"rgb": {
"r": 168,
"g": 147,
"b": 228
},
"hsl": {
"h": 255.556,
"s": 60,
"l": 73.529
},
"oklch": {
"l": 0.71308,
"c": 0.11756,
"h": 295.2
},
"luminance": 0.34794
}Semantic roles & 50–950 ramp
primary
#A893E4
secondary
#EBF0DB
accent
#C81E9C
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#131116
muted
#828084