#A45ED2#A45ED2
#A45ED2 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.1% C 0.179 H 310.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A45ED2 |
|---|---|
| RGB | rgb(164, 94, 210) |
| HSL | hsl(276, 56%, 60%) |
| HSV | hsv(276, 55%, 82%) |
| CMYK | cmyk(21.9%, 55.2%, 0%, 17.6%) |
| CIE-LAB | lab(52.46, 48.90, -48.89) |
| CIE-LCH | lch(52.46, 69.15, 315.00°) |
| OKLab | oklab(61.08% 0.1151 -0.1372) |
| OKLCH | oklch(61.08% 0.179 310) |
| XYZ | xyz(30.9432, 20.5516, 63.2971) |
| Luminance | 0.2055 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.19
Lightish Purple
#A552E6
ΔE00 3.92
Mediumorchid
#BA55D3
ΔE00 4.27
Lighter Purple
#A55AF4
ΔE00 5.14
Deep Lavender
#8D5EB7
ΔE00 5.81
Deep Lilac
#966EBD
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45ED2 #8CD25E
analogous
#6A5ED2 #A45ED2 #D25EC6
triadic
#A45ED2 #D2A45E #5ED2A4
tetradic
#A45ED2 #D26A5E #8CD25E #5EC6D2
square
#A45ED2 #D26A5E #8CD25E #5EC6D2
split-complementary
#A45ED2 #C6D25E #5ED26A
monochromatic
#65288E #8835BE #A45ED2 #BF8EDF #DABEED
Accessibility & contrast
On white
4.11
#A45ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#A45ED2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45ED2
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45ED2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45ED2 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A7AD6
Deuteranopia (green-blind)
#537ECF
Tritanopia (blue-blind)
#9E738F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a45ed2; /* rgb */ color: rgb(164, 94, 210); /* oklch */ color: oklch(61.1% 0.179 310.0);
Tailwind
colors: {
custom: {
50: '#c28ee0',
500: '#a45ed2',
950: '#000000',
},
}SCSS
$custom: #a45ed2; $custom-light: #c28ee0; $custom-dark: #000000;
JSON
{
"hex": "#a45ed2",
"rgb": {
"r": 164,
"g": 94,
"b": 210
},
"hsl": {
"h": 276.207,
"s": 56.311,
"l": 59.608
},
"oklch": {
"l": 0.61077,
"c": 0.17908,
"h": 310
},
"luminance": 0.20551
}Semantic roles & 50–950 ramp
primary
#A45ED2
secondary
#C1DCAF
accent
#E04884
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83