#A45CE2#A45CE2
#A45CE2 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.8% C 0.200 H 306.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A45CE2 |
|---|---|
| RGB | rgb(164, 92, 226) |
| HSL | hsl(272, 70%, 62%) |
| HSV | hsv(272, 59%, 89%) |
| CMYK | cmyk(27.4%, 59.3%, 0%, 11.4%) |
| CIE-LAB | lab(52.99, 53.55, -57.10) |
| CIE-LCH | lch(52.99, 78.29, 313.16°) |
| OKLab | oklab(61.77% 0.1179 -0.1612) |
| OKLCH | oklch(61.77% 0.2 306.2) |
| XYZ | xyz(32.8615, 21.0381, 74.2663) |
| Luminance | 0.2104 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.18
Lighter Purple
#A55AF4
ΔE00 2.56
Mediumorchid
#BA55D3
ΔE00 5.38
Amethyst
#9B5FC0
ΔE00 5.53
Purpley
#8756E4
ΔE00 5.94
Mediumpurple
#9370DB
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45CE2 #9AE25C
analogous
#615CE2 #A45CE2 #E25CDD
triadic
#A45CE2 #E2A45C #5CE2A4
tetradic
#A45CE2 #E2615C #9AE25C #5CDDE2
square
#A45CE2 #E2615C #9AE25C #5CDDE2
split-complementary
#A45CE2 #DDE25C #5CE261
monochromatic
#671EA6 #8728D9 #A45CE2 #C190EB #DEC4F4
Accessibility & contrast
On white
4.03
#A45CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#A45CE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45CE2
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45CE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45CE2 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F7CE6
Deuteranopia (green-blind)
#427FDF
Tritanopia (blue-blind)
#9A7696
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a45ce2; /* rgb */ color: rgb(164, 92, 226); /* oklch */ color: oklch(61.8% 0.200 306.2);
Tailwind
colors: {
custom: {
50: '#c38dec',
500: '#a45ce2',
950: '#000000',
},
}SCSS
$custom: #a45ce2; $custom-light: #c38dec; $custom-dark: #000000;
JSON
{
"hex": "#a45ce2",
"rgb": {
"r": 164,
"g": 92,
"b": 226
},
"hsl": {
"h": 272.239,
"s": 69.792,
"l": 62.353
},
"oklch": {
"l": 0.61766,
"c": 0.19973,
"h": 306.2
},
"luminance": 0.21038
}Semantic roles & 50–950 ramp
primary
#A45CE2
secondary
#CBE5B4
accent
#D2146C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84