#A45FD9#A45FD9
#A45FD9 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.6% C 0.185 H 308.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #A45FD9 |
|---|---|
| RGB | rgb(164, 95, 217) |
| HSL | hsl(274, 62%, 61%) |
| HSV | hsv(274, 56%, 85%) |
| CMYK | cmyk(24.4%, 56.2%, 0%, 14.9%) |
| CIE-LAB | lab(53.04, 49.95, -51.93) |
| CIE-LCH | lch(53.04, 72.05, 313.89°) |
| OKLab | oklab(61.64% 0.1141 -0.1461) |
| OKLCH | oklch(61.64% 0.185 308) |
| XYZ | xyz(31.9239, 21.0871, 68.0206) |
| Luminance | 0.2109 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.34
Lighter Purple
#A55AF4
ΔE00 4.04
Amethyst
#9B5FC0
ΔE00 4.22
Mediumorchid
#BA55D3
ΔE00 4.75
Mediumpurple
#9370DB
ΔE00 5.73
Light Urple
#B36FF6
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45FD9 #94D95F
analogous
#675FD9 #A45FD9 #D95FD1
triadic
#A45FD9 #D9A45F #5FD9A4
tetradic
#A45FD9 #D9675F #94D95F #5FD1D9
square
#A45FD9 #D9675F #94D95F #5FD1D9
split-complementary
#A45FD9 #D1D95F #5FD967
monochromatic
#662499 #8830CB #A45FD9 #C090E5 #DCC2F0
Accessibility & contrast
On white
4.02
#A45FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.22
#A45FD9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45FD9
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45FD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45FD9 | 1.00 | 4.02 | 5.22 | 5.22 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#347CDD
Deuteranopia (green-blind)
#4E7FD6
Tritanopia (blue-blind)
#9C7693
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a45fd9; /* rgb */ color: rgb(164, 95, 217); /* oklch */ color: oklch(61.6% 0.185 308.0);
Tailwind
colors: {
custom: {
50: '#c28fe5',
500: '#a45fd9',
950: '#000000',
},
}SCSS
$custom: #a45fd9; $custom-light: #c28fe5; $custom-dark: #000000;
JSON
{
"hex": "#a45fd9",
"rgb": {
"r": 164,
"g": 95,
"b": 217
},
"hsl": {
"h": 273.934,
"s": 61.616,
"l": 61.176
},
"oklch": {
"l": 0.61637,
"c": 0.18535,
"h": 308
},
"luminance": 0.21087
}Semantic roles & 50–950 ramp
primary
#A45FD9
secondary
#C7E1B3
accent
#C91C67
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84