#A45FE3#A45FE3
#A45FE3 is a light, vivid violet. Relative luminance 0.216; OKLCH L 62.2% C 0.197 H 305.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A45FE3 |
|---|---|
| RGB | rgb(164, 95, 227) |
| HSL | hsl(271, 70%, 63%) |
| HSV | hsv(271, 58%, 89%) |
| CMYK | cmyk(27.8%, 58.1%, 0%, 11%) |
| CIE-LAB | lab(53.62, 52.25, -56.65) |
| CIE-LCH | lch(53.62, 77.07, 312.69°) |
| OKLab | oklab(62.25% 0.1142 -0.1599) |
| OKLCH | oklch(62.25% 0.197 305.5) |
| XYZ | xyz(33.2642, 21.6232, 75.0794) |
| Luminance | 0.2162 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.54
Lightish Purple
#A552E6
ΔE00 2.86
Mediumpurple
#9370DB
ΔE00 5.47
Light Urple
#B36FF6
ΔE00 5.49
Mediumorchid
#BA55D3
ΔE00 5.62
Amethyst
#9B5FC0
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A45FE3 #9EE35F
analogous
#625FE3 #A45FE3 #E35FE0
triadic
#A45FE3 #E3A45F #5FE3A4
tetradic
#A45FE3 #E3625F #9EE35F #5FE0E3
square
#A45FE3 #E3625F #9EE35F #5FE0E3
split-complementary
#A45FE3 #E0E35F #5FE362
monochromatic
#671EAA #862BDA #A45FE3 #C293EC #DFC7F5
Accessibility & contrast
On white
3.94
#A45FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#A45FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A45FE3
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A45FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A45FE3 | 1.00 | 3.94 | 5.32 | 5.32 |
| #FFFFFF | 3.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#267EE7
Deuteranopia (green-blind)
#4580E0
Tritanopia (blue-blind)
#997998
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #a45fe3; /* rgb */ color: rgb(164, 95, 227); /* oklch */ color: oklch(62.2% 0.197 305.5);
Tailwind
colors: {
custom: {
50: '#c38fec',
500: '#a45fe3',
950: '#000000',
},
}SCSS
$custom: #a45fe3; $custom-light: #c38fec; $custom-dark: #000000;
JSON
{
"hex": "#a45fe3",
"rgb": {
"r": 164,
"g": 95,
"b": 227
},
"hsl": {
"h": 271.364,
"s": 70.213,
"l": 63.137
},
"oklch": {
"l": 0.62248,
"c": 0.19653,
"h": 305.5
},
"luminance": 0.21623
}Semantic roles & 50–950 ramp
primary
#A45FE3
secondary
#CEE7B7
accent
#D2136E
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84