#A45ED9#A45ED9
#A45ED9 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.5% C 0.187 H 308.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A45ED9 |
|---|---|
| RGB | rgb(164, 94, 217) |
| HSL | hsl(274, 62%, 61%) |
| HSV | hsv(274, 57%, 85%) |
| CMYK | cmyk(24.4%, 56.7%, 0%, 14.9%) |
| CIE-LAB | lab(52.85, 50.47, -52.24) |
| CIE-LCH | lch(52.85, 72.64, 314.01°) |
| OKLab | oklab(61.49% 0.1153 -0.147) |
| OKLCH | oklch(61.49% 0.187 308.1) |
| XYZ | xyz(31.8344, 20.9081, 67.9908) |
| Luminance | 0.2091 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.15
Lighter Purple
#A55AF4
ΔE00 4.00
Amethyst
#9B5FC0
ΔE00 4.21
Mediumorchid
#BA55D3
ΔE00 4.69
Mediumpurple
#9370DB
ΔE00 5.92
Light Urple
#B36FF6
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45ED9 #93D95E
analogous
#665ED9 #A45ED9 #D95ED1
triadic
#A45ED9 #D9A45E #5ED9A4
tetradic
#A45ED9 #D9665E #93D95E #5ED1D9
square
#A45ED9 #D9665E #93D95E #5ED1D9
split-complementary
#A45ED9 #D1D95E #5ED966
monochromatic
#662499 #8830CA #A45ED9 #C090E5 #DCC1F0
Accessibility & contrast
On white
4.05
#A45ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#A45ED9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45ED9
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45ED9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45ED9 | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#327BDD
Deuteranopia (green-blind)
#4D7FD6
Tritanopia (blue-blind)
#9C7593
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a45ed9; /* rgb */ color: rgb(164, 94, 217); /* oklch */ color: oklch(61.5% 0.187 308.1);
Tailwind
colors: {
custom: {
50: '#c28ee5',
500: '#a45ed9',
950: '#000000',
},
}SCSS
$custom: #a45ed9; $custom-light: #c28ee5; $custom-dark: #000000;
JSON
{
"hex": "#a45ed9",
"rgb": {
"r": 164,
"g": 94,
"b": 217
},
"hsl": {
"h": 274.146,
"s": 61.809,
"l": 60.98
},
"oklch": {
"l": 0.61493,
"c": 0.18685,
"h": 308.1
},
"luminance": 0.20908
}Semantic roles & 50–950 ramp
primary
#A45ED9
secondary
#C6E1B2
accent
#CA1C67
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84