#A45EC2#A45EC2
#A45EC2 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.2% C 0.161 H 314.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A45EC2 |
|---|---|
| RGB | rgb(164, 94, 194) |
| HSL | hsl(282, 45%, 56%) |
| HSV | hsv(282, 52%, 76%) |
| CMYK | cmyk(15.5%, 51.5%, 0%, 23.9%) |
| CIE-LAB | lab(51.60, 45.40, -41.08) |
| CIE-LCH | lch(51.60, 61.23, 317.86°) |
| OKLab | oklab(60.17% 0.1139 -0.1145) |
| OKLCH | oklch(60.17% 0.161 314.8) |
| XYZ | xyz(29.0486, 19.7938, 53.3188) |
| Luminance | 0.1979 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.84
Mediumorchid
#BA55D3
ΔE00 4.47
Deep Lavender
#8D5EB7
ΔE00 4.84
Deep Lilac
#966EBD
ΔE00 5.42
Soft Purple
#A66FB5
ΔE00 6.09
Lightish Purple
#A552E6
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45EC2 #7CC25E
analogous
#725EC2 #A45EC2 #C25EAE
triadic
#A45EC2 #C2A45E #5EC2A4
tetradic
#A45EC2 #C2725E #7CC25E #5EAEC2
square
#A45EC2 #C2725E #7CC25E #5EAEC2
split-complementary
#A45EC2 #AEC25E #5EC272
monochromatic
#622E78 #863EA4 #A45EC2 #BD8AD3 #D6B7E4
Accessibility & contrast
On white
4.24
#A45EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.96
#A45EC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45EC2
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45EC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45EC2 | 1.00 | 4.24 | 4.96 | 4.96 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4777C5
Deuteranopia (green-blind)
#5D7DBF
Tritanopia (blue-blind)
#A26E87
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a45ec2; /* rgb */ color: rgb(164, 94, 194); /* oklch */ color: oklch(60.2% 0.161 314.8);
Tailwind
colors: {
custom: {
50: '#c18ed5',
500: '#a45ec2',
950: '#000000',
},
}SCSS
$custom: #a45ec2; $custom-light: #c18ed5; $custom-dark: #000000;
JSON
{
"hex": "#a45ec2",
"rgb": {
"r": 164,
"g": 94,
"b": 194
},
"hsl": {
"h": 282,
"s": 45.045,
"l": 56.471
},
"oklch": {
"l": 0.60173,
"c": 0.16144,
"h": 314.8
},
"luminance": 0.19793
}Semantic roles & 50–950 ramp
primary
#A45EC2
secondary
#B6D2A9
accent
#D5537A
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83