#A548E1#A548E1
#A548E1 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.3% C 0.226 H 308.9°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A548E1 |
|---|---|
| RGB | rgb(165, 72, 225) |
| HSL | hsl(276, 72%, 58%) |
| HSV | hsv(276, 68%, 88%) |
| CMYK | cmyk(26.7%, 68%, 0%, 11.8%) |
| CIE-LAB | lab(49.58, 63.05, -62.01) |
| CIE-LCH | lch(49.58, 88.44, 315.47°) |
| OKLab | oklab(59.31% 0.1418 -0.1755) |
| OKLCH | oklch(59.31% 0.226 308.9) |
| XYZ | xyz(31.4223, 18.0709, 73.0523) |
| Luminance | 0.1807 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.28
Lighter Purple
#A55AF4
ΔE00 5.02
Electric Purple
#AA23FF
ΔE00 5.04
Neon Purple
#BC13FE
ΔE00 5.34
Bright Purple
#BE03FD
ΔE00 5.63
Purpley
#8756E4
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A548E1 #84E148
analogous
#5848E1 #A548E1 #E148D0
triadic
#A548E1 #E1A548 #48E1A5
tetradic
#A548E1 #E15848 #84E148 #48D0E1
square
#A548E1 #E15848 #84E148 #48D0E1
split-complementary
#A548E1 #D0E148 #48E158
monochromatic
#651996 #8821CB #A548E1 #BF7DEA #D9B1F2
Accessibility & contrast
On white
4.55
#A548E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#A548E1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A548E1
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A548E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A548E1 | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#2977DE
Tritanopia (blue-blind)
#9C698F
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a548e1; /* rgb */ color: rgb(165, 72, 225); /* oklch */ color: oklch(59.3% 0.226 308.9);
Tailwind
colors: {
custom: {
50: '#c482eb',
500: '#a548e1',
950: '#000000',
},
}SCSS
$custom: #a548e1; $custom-light: #c482eb; $custom-dark: #000000;
JSON
{
"hex": "#a548e1",
"rgb": {
"r": 165,
"g": 72,
"b": 225
},
"hsl": {
"h": 276.471,
"s": 71.831,
"l": 58.235
},
"oklch": {
"l": 0.59312,
"c": 0.22567,
"h": 308.9
},
"luminance": 0.1807
}Semantic roles & 50–950 ramp
primary
#A548E1
secondary
#BCE1A4
accent
#EF3980
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84