#A548E3#A548E3
#A548E3 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.4% C 0.228 H 308.5°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A548E3 |
|---|---|
| RGB | rgb(165, 72, 227) |
| HSL | hsl(276, 73%, 59%) |
| HSV | hsv(276, 68%, 89%) |
| CMYK | cmyk(27.3%, 68.3%, 0%, 11%) |
| CIE-LAB | lab(49.71, 63.48, -62.93) |
| CIE-LCH | lch(49.71, 89.39, 315.25°) |
| OKLab | oklab(59.45% 0.1416 -0.1782) |
| OKLCH | oklch(59.45% 0.228 308.5) |
| XYZ | xyz(31.6967, 18.1806, 74.4976) |
| Luminance | 0.1818 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.14
Lighter Purple
#A55AF4
ΔE00 4.82
Electric Purple
#AA23FF
ΔE00 4.88
Neon Purple
#BC13FE
ΔE00 5.22
Bright Purple
#BE03FD
ΔE00 5.53
Purpley
#8756E4
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A548E3 #86E348
analogous
#5748E3 #A548E3 #E348D3
triadic
#A548E3 #E3A548 #48E3A5
tetradic
#A548E3 #E35748 #86E348 #48D3E3
square
#A548E3 #E35748 #86E348 #48D3E3
split-complementary
#A548E3 #D3E348 #48E357
monochromatic
#651799 #8820CE #A548E3 #BF7DEB #D9B2F3
Accessibility & contrast
On white
4.53
#A548E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#A548E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A548E3
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A548E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A548E3 | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E8
Deuteranopia (green-blind)
#2577E0
Tritanopia (blue-blind)
#9B6A90
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #a548e3; /* rgb */ color: rgb(165, 72, 227); /* oklch */ color: oklch(59.4% 0.228 308.5);
Tailwind
colors: {
custom: {
50: '#c482ed',
500: '#a548e3',
950: '#000000',
},
}SCSS
$custom: #a548e3; $custom-light: #c482ed; $custom-dark: #000000;
JSON
{
"hex": "#a548e3",
"rgb": {
"r": 165,
"g": 72,
"b": 227
},
"hsl": {
"h": 276,
"s": 73.46,
"l": 58.627
},
"oklch": {
"l": 0.59448,
"c": 0.22764,
"h": 308.5
},
"luminance": 0.1818
}Semantic roles & 50–950 ramp
primary
#A548E3
secondary
#BDE2A5
accent
#F03881
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84