#A545E2#A545E2
#A545E2 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 59.1% C 0.230 H 309.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #A545E2 |
|---|---|
| RGB | rgb(165, 69, 226) |
| HSL | hsl(277, 73%, 58%) |
| HSV | hsv(277, 69%, 89%) |
| CMYK | cmyk(27%, 69.5%, 0%, 11.4%) |
| CIE-LAB | lab(49.19, 64.55, -63.22) |
| CIE-LCH | lch(49.19, 90.35, 315.60°) |
| OKLab | oklab(59.05% 0.1448 -0.1791) |
| OKLCH | oklch(59.05% 0.23 309) |
| XYZ | xyz(31.3699, 17.7471, 73.7097) |
| Luminance | 0.1775 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.75
Electric Purple
#AA23FF
ΔE00 4.58
Neon Purple
#BC13FE
ΔE00 5.01
Bright Purple
#BE03FD
ΔE00 5.28
Bright Violet
#AD0AFD
ΔE00 5.32
Lighter Purple
#A55AF4
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A545E2 #82E245
analogous
#5645E2 #A545E2 #E245D0
triadic
#A545E2 #E2A545 #45E2A5
tetradic
#A545E2 #E25645 #82E245 #45D0E2
square
#A545E2 #E25645 #82E245 #45D0E2
split-complementary
#A545E2 #D0E245 #45E256
monochromatic
#641795 #8820CA #A545E2 #BF7AEA #D8AFF3
Accessibility & contrast
On white
4.62
#A545E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#A545E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A545E2
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A545E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A545E2 | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#2276DF
Tritanopia (blue-blind)
#9C688F
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #a545e2; /* rgb */ color: rgb(165, 69, 226); /* oklch */ color: oklch(59.1% 0.230 309.0);
Tailwind
colors: {
custom: {
50: '#c480ec',
500: '#a545e2',
950: '#000000',
},
}SCSS
$custom: #a545e2; $custom-light: #c480ec; $custom-dark: #000000;
JSON
{
"hex": "#a545e2",
"rgb": {
"r": 165,
"g": 69,
"b": 226
},
"hsl": {
"h": 276.688,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.59052,
"c": 0.23026,
"h": 309
},
"luminance": 0.17747
}Semantic roles & 50–950 ramp
primary
#A545E2
secondary
#BAE1A2
accent
#F0387F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84