#A45EC9#A45EC9
#A45EC9 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.6% C 0.169 H 312.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A45EC9 |
|---|---|
| RGB | rgb(164, 94, 201) |
| HSL | hsl(279, 50%, 58%) |
| HSV | hsv(279, 53%, 79%) |
| CMYK | cmyk(18.4%, 53.2%, 0%, 21.2%) |
| CIE-LAB | lab(51.97, 46.91, -44.53) |
| CIE-LCH | lch(51.97, 64.68, 316.49°) |
| OKLab | oklab(60.56% 0.1145 -0.1245) |
| OKLCH | oklch(60.56% 0.169 312.6) |
| XYZ | xyz(29.8533, 20.1157, 57.5571) |
| Luminance | 0.2011 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.08
Mediumorchid
#BA55D3
ΔE00 4.16
Deep Lavender
#8D5EB7
ΔE00 5.09
Lightish Purple
#A552E6
ΔE00 5.21
Deep Lilac
#966EBD
ΔE00 5.61
Lighter Purple
#A55AF4
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45EC9 #83C95E
analogous
#6E5EC9 #A45EC9 #C95EB9
triadic
#A45EC9 #C9A45E #5EC9A4
tetradic
#A45EC9 #C96E5E #83C95E #5EB9C9
square
#A45EC9 #C96E5E #83C95E #5EB9C9
split-complementary
#A45EC9 #B9C95E #5EC96E
monochromatic
#642B81 #873BAF #A45EC9 #BE8CD8 #D8BAE8
Accessibility & contrast
On white
4.18
#A45EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#A45EC9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45EC9
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45EC9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45EC9 | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4278CD
Deuteranopia (green-blind)
#597EC6
Tritanopia (blue-blind)
#A0708B
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a45ec9; /* rgb */ color: rgb(164, 94, 201); /* oklch */ color: oklch(60.6% 0.169 312.6);
Tailwind
colors: {
custom: {
50: '#c18eda',
500: '#a45ec9',
950: '#000000',
},
}SCSS
$custom: #a45ec9; $custom-light: #c18eda; $custom-dark: #000000;
JSON
{
"hex": "#a45ec9",
"rgb": {
"r": 164,
"g": 94,
"b": 201
},
"hsl": {
"h": 279.252,
"s": 49.767,
"l": 57.843
},
"oklch": {
"l": 0.6056,
"c": 0.16912,
"h": 312.6
},
"luminance": 0.20115
}Semantic roles & 50–950 ramp
primary
#A45EC9
secondary
#BBD7AC
accent
#D94F7E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83