#A45FDC#A45FDC
#A45FDC is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.8% C 0.189 H 307.2°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A45FDC |
|---|---|
| RGB | rgb(164, 95, 220) |
| HSL | hsl(273, 64%, 62%) |
| HSV | hsv(273, 57%, 86%) |
| CMYK | cmyk(25.5%, 56.8%, 0%, 13.7%) |
| CIE-LAB | lab(53.22, 50.64, -53.35) |
| CIE-LCH | lch(53.22, 73.56, 313.50°) |
| OKLab | oklab(61.82% 0.1142 -0.1503) |
| OKLCH | oklch(61.82% 0.189 307.2) |
| XYZ | xyz(32.3177, 21.2446, 70.0944) |
| Luminance | 0.2124 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.12
Lighter Purple
#A55AF4
ΔE00 3.57
Amethyst
#9B5FC0
ΔE00 4.67
Mediumorchid
#BA55D3
ΔE00 4.98
Mediumpurple
#9370DB
ΔE00 5.61
Light Urple
#B36FF6
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45FDC #97DC5F
analogous
#665FDC #A45FDC #DC5FD6
triadic
#A45FDC #DCA45F #5FDCA4
tetradic
#A45FDC #DC665F #97DC5F #5FD6DC
square
#A45FDC #DC665F #97DC5F #5FD6DC
split-complementary
#A45FDC #D6DC5F #5FDC66
monochromatic
#67239E #872ED0 #A45FDC #C191E7 #DDC3F2
Accessibility & contrast
On white
4.00
#A45FDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.25
#A45FDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45FDC
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45FDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45FDC | 1.00 | 4.00 | 5.25 | 5.25 |
| #FFFFFF | 4.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#317DE0
Deuteranopia (green-blind)
#4C80D9
Tritanopia (blue-blind)
#9B7795
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a45fdc; /* rgb */ color: rgb(164, 95, 220); /* oklch */ color: oklch(61.8% 0.189 307.2);
Tailwind
colors: {
custom: {
50: '#c28fe7',
500: '#a45fdc',
950: '#000000',
},
}SCSS
$custom: #a45fdc; $custom-light: #c28fe7; $custom-dark: #000000;
JSON
{
"hex": "#a45fdc",
"rgb": {
"r": 164,
"g": 95,
"b": 220
},
"hsl": {
"h": 273.12,
"s": 64.103,
"l": 61.765
},
"oklch": {
"l": 0.61817,
"c": 0.1887,
"h": 307.2
},
"luminance": 0.21244
}Semantic roles & 50–950 ramp
primary
#A45FDC
secondary
#C9E3B4
accent
#CC1A69
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84