#A45CD9#A45CD9
#A45CD9 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.2% C 0.190 H 308.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A45CD9 |
|---|---|
| RGB | rgb(164, 92, 217) |
| HSL | hsl(275, 62%, 61%) |
| HSV | hsv(275, 58%, 85%) |
| CMYK | cmyk(24.4%, 57.6%, 0%, 14.9%) |
| CIE-LAB | lab(52.46, 51.50, -52.86) |
| CIE-LCH | lch(52.46, 73.80, 314.25°) |
| OKLab | oklab(61.21% 0.1179 -0.1488) |
| OKLCH | oklch(61.21% 0.19 308.4) |
| XYZ | xyz(31.6589, 20.5570, 67.9323) |
| Luminance | 0.2056 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.77
Lighter Purple
#A55AF4
ΔE00 3.96
Amethyst
#9B5FC0
ΔE00 4.22
Mediumorchid
#BA55D3
ΔE00 4.61
Mediumpurple
#9370DB
ΔE00 6.29
Purpley
#8756E4
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45CD9 #91D95C
analogous
#655CD9 #A45CD9 #D95CCF
triadic
#A45CD9 #D9A45C #5CD9A4
tetradic
#A45CD9 #D9655C #91D95C #5CCFD9
square
#A45CD9 #D9655C #91D95C #5CCFD9
split-complementary
#A45CD9 #CFD95C #5CD965
monochromatic
#662397 #882FC9 #A45CD9 #C08EE5 #DBBFF0
Accessibility & contrast
On white
4.11
#A45CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.11
#A45CD9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45CD9
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45CD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45CD9 | 1.00 | 4.11 | 5.11 | 5.11 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E7ADD
Deuteranopia (green-blind)
#4B7ED6
Tritanopia (blue-blind)
#9C7392
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a45cd9; /* rgb */ color: rgb(164, 92, 217); /* oklch */ color: oklch(61.2% 0.190 308.4);
Tailwind
colors: {
custom: {
50: '#c28de5',
500: '#a45cd9',
950: '#000000',
},
}SCSS
$custom: #a45cd9; $custom-light: #c28de5; $custom-dark: #000000;
JSON
{
"hex": "#a45cd9",
"rgb": {
"r": 164,
"g": 92,
"b": 217
},
"hsl": {
"h": 274.56,
"s": 62.189,
"l": 60.588
},
"oklch": {
"l": 0.61209,
"c": 0.18983,
"h": 308.4
},
"luminance": 0.20557
}Semantic roles & 50–950 ramp
primary
#A45CD9
secondary
#C5E0B1
accent
#CA1C65
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84