#A45ED4#A45ED4
#A45ED4 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.2% C 0.181 H 309.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A45ED4 |
|---|---|
| RGB | rgb(164, 94, 212) |
| HSL | hsl(276, 58%, 60%) |
| HSV | hsv(276, 56%, 83%) |
| CMYK | cmyk(22.6%, 55.7%, 0%, 16.9%) |
| CIE-LAB | lab(52.57, 49.34, -49.85) |
| CIE-LCH | lch(52.57, 70.14, 314.71°) |
| OKLab | oklab(61.2% 0.1152 -0.14) |
| OKLCH | oklch(61.2% 0.181 309.4) |
| XYZ | xyz(31.1939, 20.6519, 64.6175) |
| Luminance | 0.2065 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.47
Lightish Purple
#A552E6
ΔE00 3.68
Mediumorchid
#BA55D3
ΔE00 4.37
Lighter Purple
#A55AF4
ΔE00 4.81
Deep Lavender
#8D5EB7
ΔE00 6.02
Mediumpurple
#9370DB
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45ED4 #8ED45E
analogous
#695ED4 #A45ED4 #D45EC9
triadic
#A45ED4 #D4A45E #5ED4A4
tetradic
#A45ED4 #D4695E #8ED45E #5EC9D4
square
#A45ED4 #D4695E #8ED45E #5EC9D4
split-complementary
#A45ED4 #C9D45E #5ED469
monochromatic
#662791 #8834C1 #A45ED4 #BF8EE1 #DBBFEE
Accessibility & contrast
On white
4.09
#A45ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#A45ED4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45ED4
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45ED4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45ED4 | 1.00 | 4.09 | 5.13 | 5.13 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#387AD8
Deuteranopia (green-blind)
#517FD1
Tritanopia (blue-blind)
#9E7390
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a45ed4; /* rgb */ color: rgb(164, 94, 212); /* oklch */ color: oklch(61.2% 0.181 309.4);
Tailwind
colors: {
custom: {
50: '#c28ee2',
500: '#a45ed4',
950: '#000000',
},
}SCSS
$custom: #a45ed4; $custom-light: #c28ee2; $custom-dark: #000000;
JSON
{
"hex": "#a45ed4",
"rgb": {
"r": 164,
"g": 94,
"b": 212
},
"hsl": {
"h": 275.593,
"s": 57.843,
"l": 60
},
"oklch": {
"l": 0.61195,
"c": 0.1813,
"h": 309.4
},
"luminance": 0.20651
}Semantic roles & 50–950 ramp
primary
#A45ED4
secondary
#C3DEB0
accent
#E14786
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83