#A45FD2#A45FD2
#A45FD2 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.2% C 0.178 H 309.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A45FD2 |
|---|---|
| RGB | rgb(164, 95, 210) |
| HSL | hsl(276, 56%, 60%) |
| HSV | hsv(276, 55%, 82%) |
| CMYK | cmyk(21.9%, 54.8%, 0%, 17.6%) |
| CIE-LAB | lab(52.65, 48.38, -48.58) |
| CIE-LCH | lch(52.65, 68.56, 314.88°) |
| OKLab | oklab(61.22% 0.1138 -0.1363) |
| OKLCH | oklch(61.22% 0.178 309.9) |
| XYZ | xyz(31.0327, 20.7306, 63.3269) |
| Luminance | 0.2073 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.20
Lightish Purple
#A552E6
ΔE00 4.09
Mediumorchid
#BA55D3
ΔE00 4.34
Lighter Purple
#A55AF4
ΔE00 5.17
Deep Lavender
#8D5EB7
ΔE00 5.85
Deep Lilac
#966EBD
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45FD2 #8DD25F
analogous
#6A5FD2 #A45FD2 #D25FC7
triadic
#A45FD2 #D2A45F #5FD2A4
tetradic
#A45FD2 #D26A5F #8DD25F #5FC7D2
square
#A45FD2 #D26A5F #8DD25F #5FC7D2
split-complementary
#A45FD2 #C7D25F #5FD26A
monochromatic
#66288F #8836BE #A45FD2 #BF8FDF #DABFED
Accessibility & contrast
On white
4.08
#A45FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#A45FD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45FD2
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45FD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45FD2 | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C7BD6
Deuteranopia (green-blind)
#547FCF
Tritanopia (blue-blind)
#9E738F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a45fd2; /* rgb */ color: rgb(164, 95, 210); /* oklch */ color: oklch(61.2% 0.178 309.9);
Tailwind
colors: {
custom: {
50: '#c28fe0',
500: '#a45fd2',
950: '#000000',
},
}SCSS
$custom: #a45fd2; $custom-light: #c28fe0; $custom-dark: #000000;
JSON
{
"hex": "#a45fd2",
"rgb": {
"r": 164,
"g": 95,
"b": 210
},
"hsl": {
"h": 276,
"s": 56.098,
"l": 59.804
},
"oklch": {
"l": 0.61223,
"c": 0.17753,
"h": 309.9
},
"luminance": 0.2073
}Semantic roles & 50–950 ramp
primary
#A45FD2
secondary
#C2DDB0
accent
#DF4885
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83