#A045E0#A045E0
#A045E0 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.3% C 0.227 H 307.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #A045E0 |
|---|---|
| RGB | rgb(160, 69, 224) |
| HSL | hsl(275, 71%, 57%) |
| HSV | hsv(275, 69%, 88%) |
| CMYK | cmyk(28.6%, 69.2%, 0%, 12.2%) |
| CIE-LAB | lab(48.40, 63.13, -63.39) |
| CIE-LCH | lch(48.40, 89.46, 314.88°) |
| OKLab | oklab(58.31% 0.1386 -0.1797) |
| OKLCH | oklch(58.31% 0.227 307.6) |
| XYZ | xyz(30.0771, 17.1121, 72.2250) |
| Luminance | 0.1711 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.29
Electric Purple
#AA23FF
ΔE00 4.64
Darkorchid
#9932CC
ΔE00 5.13
Bright Violet
#AD0AFD
ΔE00 5.32
Purpley
#8756E4
ΔE00 5.38
Neon Purple
#BC13FE
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A045E0 #85E045
analogous
#5345E0 #A045E0 #E045D2
triadic
#A045E0 #E0A045 #45E0A0
tetradic
#A045E0 #E05345 #85E045 #45D2E0
square
#A045E0 #E05345 #85E045 #45D2E0
split-complementary
#A045E0 #D2E045 #45E053
monochromatic
#601892 #8221C7 #A045E0 #BB79E9 #D6AEF1
Accessibility & contrast
On white
4.75
#A045E0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#A045E0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A045E0
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A045E0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A045E0 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#1A74DD
Tritanopia (blue-blind)
#96688E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a045e0; /* rgb */ color: rgb(160, 69, 224); /* oklch */ color: oklch(58.3% 0.227 307.6);
Tailwind
colors: {
custom: {
50: '#c180eb',
500: '#a045e0',
950: '#000000',
},
}SCSS
$custom: #a045e0; $custom-light: #c180eb; $custom-dark: #000000;
JSON
{
"hex": "#a045e0",
"rgb": {
"r": 160,
"g": 69,
"b": 224
},
"hsl": {
"h": 275.226,
"s": 71.429,
"l": 57.451
},
"oklch": {
"l": 0.5831,
"c": 0.22694,
"h": 307.6
},
"luminance": 0.17112
}Semantic roles & 50–950 ramp
primary
#A045E0
secondary
#BBE0A1
accent
#EE3A84
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84