#A45FD6#A45FD6
#A45FD6 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.5% C 0.182 H 308.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A45FD6 |
|---|---|
| RGB | rgb(164, 95, 214) |
| HSL | hsl(275, 59%, 61%) |
| HSV | hsv(275, 56%, 84%) |
| CMYK | cmyk(23.4%, 55.6%, 0%, 16.1%) |
| CIE-LAB | lab(52.88, 49.27, -50.50) |
| CIE-LCH | lch(52.88, 70.55, 314.30°) |
| OKLab | oklab(61.46% 0.114 -0.1419) |
| OKLCH | oklch(61.46% 0.182 308.8) |
| XYZ | xyz(31.5373, 20.9324, 65.9843) |
| Luminance | 0.2093 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.63
Amethyst
#9B5FC0
ΔE00 3.78
Lighter Purple
#A55AF4
ΔE00 4.52
Mediumorchid
#BA55D3
ΔE00 4.54
Mediumpurple
#9370DB
ΔE00 5.90
Deep Lavender
#8D5EB7
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45FD6 #91D65F
analogous
#685FD6 #A45FD6 #D65FCC
triadic
#A45FD6 #D6A45F #5FD6A4
tetradic
#A45FD6 #D6685F #91D65F #5FCCD6
square
#A45FD6 #D6685F #91D65F #5FCCD6
split-complementary
#A45FD6 #CCD65F #5FD668
monochromatic
#662695 #8833C5 #A45FD6 #C090E2 #DBC0EF
Accessibility & contrast
On white
4.05
#A45FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#A45FD6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45FD6
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45FD6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45FD6 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#387BDA
Deuteranopia (green-blind)
#517FD3
Tritanopia (blue-blind)
#9D7591
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a45fd6; /* rgb */ color: rgb(164, 95, 214); /* oklch */ color: oklch(61.5% 0.182 308.8);
Tailwind
colors: {
custom: {
50: '#c28fe3',
500: '#a45fd6',
950: '#000000',
},
}SCSS
$custom: #a45fd6; $custom-light: #c28fe3; $custom-dark: #000000;
JSON
{
"hex": "#a45fd6",
"rgb": {
"r": 164,
"g": 95,
"b": 214
},
"hsl": {
"h": 274.79,
"s": 59.204,
"l": 60.588
},
"oklch": {
"l": 0.61458,
"c": 0.182,
"h": 308.8
},
"luminance": 0.20932
}Semantic roles & 50–950 ramp
primary
#A45FD6
secondary
#C5DFB2
accent
#C71F65
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D15
muted
#827D84