#A45FE1#A45FE1
#A45FE1 is a light, vivid violet. Relative luminance 0.215; OKLCH L 62.1% C 0.194 H 306.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A45FE1 |
|---|---|
| RGB | rgb(164, 95, 225) |
| HSL | hsl(272, 68%, 63%) |
| HSV | hsv(272, 58%, 88%) |
| CMYK | cmyk(27.1%, 57.8%, 0%, 11.8%) |
| CIE-LAB | lab(53.51, 51.79, -55.71) |
| CIE-LCH | lch(53.51, 76.06, 312.91°) |
| OKLab | oklab(62.12% 0.1142 -0.1572) |
| OKLCH | oklch(62.12% 0.194 306) |
| XYZ | xyz(32.9898, 21.5135, 73.6341) |
| Luminance | 0.2151 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.83
Lightish Purple
#A552E6
ΔE00 2.89
Amethyst
#9B5FC0
ΔE00 5.41
Mediumorchid
#BA55D3
ΔE00 5.43
Mediumpurple
#9370DB
ΔE00 5.49
Light Urple
#B36FF6
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45FE1 #9CE15F
analogous
#635FE1 #A45FE1 #E15FDD
triadic
#A45FE1 #E1A45F #5FE1A4
tetradic
#A45FE1 #E1635F #9CE15F #5FDDE1
square
#A45FE1 #E1635F #9CE15F #5FDDE1
split-complementary
#A45FE1 #DDE15F #5FE163
monochromatic
#671FA6 #872BD7 #A45FE1 #C193EB #DFC6F4
Accessibility & contrast
On white
3.96
#A45FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.30
#A45FE1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45FE1
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45FE1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45FE1 | 1.00 | 3.96 | 5.30 | 5.30 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A7EE5
Deuteranopia (green-blind)
#4780DE
Tritanopia (blue-blind)
#9A7897
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #a45fe1; /* rgb */ color: rgb(164, 95, 225); /* oklch */ color: oklch(62.1% 0.194 306.0);
Tailwind
colors: {
custom: {
50: '#c28feb',
500: '#a45fe1',
950: '#000000',
},
}SCSS
$custom: #a45fe1; $custom-light: #c28feb; $custom-dark: #000000;
JSON
{
"hex": "#a45fe1",
"rgb": {
"r": 164,
"g": 95,
"b": 225
},
"hsl": {
"h": 271.846,
"s": 68.421,
"l": 62.745
},
"oklch": {
"l": 0.62124,
"c": 0.19429,
"h": 306
},
"luminance": 0.21513
}Semantic roles & 50–950 ramp
primary
#A45FE1
secondary
#CCE5B6
accent
#D0156D
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84