#A045E2#A045E2
#A045E2 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.5% C 0.229 H 307.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A045E2 |
|---|---|
| RGB | rgb(160, 69, 226) |
| HSL | hsl(275, 73%, 58%) |
| HSV | hsv(275, 69%, 89%) |
| CMYK | cmyk(29.2%, 69.5%, 0%, 11.4%) |
| CIE-LAB | lab(48.54, 63.57, -64.30) |
| CIE-LCH | lch(48.54, 90.42, 314.67°) |
| OKLab | oklab(58.45% 0.1383 -0.1824) |
| OKLCH | oklch(58.45% 0.229 307.2) |
| XYZ | xyz(30.3499, 17.2212, 73.6619) |
| Luminance | 0.1722 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.18
Electric Purple
#AA23FF
ΔE00 4.46
Bright Violet
#AD0AFD
ΔE00 5.20
Purpley
#8756E4
ΔE00 5.26
Darkorchid
#9932CC
ΔE00 5.33
Neon Purple
#BC13FE
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A045E2 #87E245
analogous
#5145E2 #A045E2 #E245D5
triadic
#A045E2 #E2A045 #45E2A0
tetradic
#A045E2 #E25145 #87E245 #45D5E2
square
#A045E2 #E25145 #87E245 #45D5E2
split-complementary
#A045E2 #D5E245 #45E251
monochromatic
#601795 #8220CA #A045E2 #BB7AEA #D6AFF3
Accessibility & contrast
On white
4.73
#A045E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#A045E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A045E2
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A045E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A045E2 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#1474DF
Tritanopia (blue-blind)
#95698F
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #a045e2; /* rgb */ color: rgb(160, 69, 226); /* oklch */ color: oklch(58.5% 0.229 307.2);
Tailwind
colors: {
custom: {
50: '#c180ec',
500: '#a045e2',
950: '#000000',
},
}SCSS
$custom: #a045e2; $custom-light: #c180ec; $custom-dark: #000000;
JSON
{
"hex": "#a045e2",
"rgb": {
"r": 160,
"g": 69,
"b": 226
},
"hsl": {
"h": 274.777,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.5845,
"c": 0.22891,
"h": 307.2
},
"luminance": 0.17221
}Semantic roles & 50–950 ramp
primary
#A045E2
secondary
#BCE1A2
accent
#F03885
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84