#A548AF#A548AF
#A548AF is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.2% C 0.177 H 323.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A548AF |
|---|---|
| RGB | rgb(165, 72, 175) |
| HSL | hsl(294, 42%, 48%) |
| HSV | hsv(294, 59%, 69%) |
| CMYK | cmyk(5.7%, 58.9%, 0%, 31.4%) |
| CIE-LAB | lab(46.62, 52.87, -37.90) |
| CIE-LCH | lch(46.62, 65.05, 324.37°) |
| OKLab | oklab(56.22% 0.1429 -0.105) |
| OKLCH | oklch(56.22% 0.177 323.7) |
| XYZ | xyz(25.5716, 15.7306, 42.2385) |
| Luminance | 0.1573 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.75
Ugly Purple
#A442A0
ΔE00 3.03
Purply
#983FB2
ΔE00 3.99
Barney
#AC1DB8
ΔE00 5.96
Purpley Pink
#C83CB9
ΔE00 6.30
Amethyst
#9B5FC0
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A548AF #52AF48
analogous
#7148AF #A548AF #AF4885
triadic
#A548AF #AFA548 #48AFA5
tetradic
#A548AF #AF7148 #52AF48 #4885AF
square
#A548AF #AF7148 #52AF48 #4885AF
split-complementary
#A548AF #85AF48 #48AF71
monochromatic
#532458 #7C3684 #A548AF #BC70C4 #D09BD6
Accessibility & contrast
On white
5.07
#A548AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#A548AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A548AF
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A548AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A548AF | 1.00 | 5.07 | 4.15 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3767B2
Deuteranopia (green-blind)
#5772AC
Tritanopia (blue-blind)
#A85675
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a548af; /* rgb */ color: rgb(165, 72, 175); /* oklch */ color: oklch(56.2% 0.177 323.7);
Tailwind
colors: {
custom: {
50: '#c280c7',
500: '#a548af',
950: '#000000',
},
}SCSS
$custom: #a548af; $custom-light: #c280c7; $custom-dark: #000000;
JSON
{
"hex": "#a548af",
"rgb": {
"r": 165,
"g": 72,
"b": 175
},
"hsl": {
"h": 294.175,
"s": 41.7,
"l": 48.431
},
"oklch": {
"l": 0.56222,
"c": 0.17737,
"h": 323.7
},
"luminance": 0.15729
}Semantic roles & 50–950 ramp
primary
#A548AF
secondary
#95C290
accent
#D25662
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82