#A548E2#A548E2
#A548E2 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.4% C 0.227 H 308.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A548E2 |
|---|---|
| RGB | rgb(165, 72, 226) |
| HSL | hsl(276, 73%, 58%) |
| HSV | hsv(276, 68%, 89%) |
| CMYK | cmyk(27%, 68.1%, 0%, 11.4%) |
| CIE-LAB | lab(49.65, 63.26, -62.47) |
| CIE-LCH | lch(49.65, 88.91, 315.36°) |
| OKLab | oklab(59.38% 0.1417 -0.1769) |
| OKLCH | oklch(59.38% 0.227 308.7) |
| XYZ | xyz(31.5591, 18.1256, 73.7728) |
| Luminance | 0.1812 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.21
Lighter Purple
#A55AF4
ΔE00 4.92
Electric Purple
#AA23FF
ΔE00 4.96
Neon Purple
#BC13FE
ΔE00 5.28
Bright Purple
#BE03FD
ΔE00 5.58
Purpley
#8756E4
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A548E2 #85E248
analogous
#5848E2 #A548E2 #E248D2
triadic
#A548E2 #E2A548 #48E2A5
tetradic
#A548E2 #E25848 #85E248 #48D2E2
square
#A548E2 #E25848 #85E248 #48D2E2
split-complementary
#A548E2 #D2E248 #48E258
monochromatic
#651898 #8820CC #A548E2 #BF7DEA #D9B2F3
Accessibility & contrast
On white
4.54
#A548E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#A548E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A548E2
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A548E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A548E2 | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#2777DF
Tritanopia (blue-blind)
#9C6A90
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a548e2; /* rgb */ color: rgb(165, 72, 226); /* oklch */ color: oklch(59.4% 0.227 308.7);
Tailwind
colors: {
custom: {
50: '#c482ec',
500: '#a548e2',
950: '#000000',
},
}SCSS
$custom: #a548e2; $custom-light: #c482ec; $custom-dark: #000000;
JSON
{
"hex": "#a548e2",
"rgb": {
"r": 165,
"g": 72,
"b": 226
},
"hsl": {
"h": 276.234,
"s": 72.642,
"l": 58.431
},
"oklch": {
"l": 0.5938,
"c": 0.22665,
"h": 308.7
},
"luminance": 0.18125
}Semantic roles & 50–950 ramp
primary
#A548E2
secondary
#BDE1A4
accent
#EF3881
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84