#8A549F#8A549F
#8A549F is a mid, vivid purple. Relative luminance 0.142; OKLCH L 53.7% C 0.127 H 315.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #8A549F |
|---|---|
| RGB | rgb(138, 84, 159) |
| HSL | hsl(283, 31%, 48%) |
| HSV | hsv(283, 47%, 62%) |
| CMYK | cmyk(13.2%, 47.2%, 0%, 37.6%) |
| CIE-LAB | lab(44.59, 35.79, -31.88) |
| CIE-LCH | lch(44.59, 47.94, 318.31°) |
| OKLab | oklab(53.7% 0.0913 -0.0884) |
| OKLCH | oklch(53.7% 0.127 315.9) |
| XYZ | xyz(19.9086, 14.2477, 34.4955) |
| Luminance | 0.1425 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 5.29
Medium Purple
#9E43A2
ΔE00 5.46
Royal Purple
#7851A9
ΔE00 5.48
Purplish
#94568C
ΔE00 6.23
Purply
#983FB2
ΔE00 6.30
Light Eggplant
#894585
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A549F #699F54
analogous
#65549F #8A549F #9F548E
triadic
#8A549F #9F8A54 #549F8A
tetradic
#8A549F #9F6554 #699F54 #548E9F
square
#8A549F #9F6554 #699F54 #548E9F
split-complementary
#8A549F #8E9F54 #549F65
monochromatic
#442A4F #673F77 #8A549F #A678B8 #C1A0CD
Accessibility & contrast
On white
5.46
#8A549F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#8A549F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A549F
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A549F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A549F | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4666A2
Deuteranopia (green-blind)
#556B9D
Tritanopia (blue-blind)
#895F72
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #8a549f; /* rgb */ color: rgb(138, 84, 159); /* oklch */ color: oklch(53.7% 0.127 315.9);
Tailwind
colors: {
custom: {
50: '#ae86bb',
500: '#8a549f',
950: '#000000',
},
}SCSS
$custom: #8a549f; $custom-light: #ae86bb; $custom-dark: #000000;
JSON
{
"hex": "#8a549f",
"rgb": {
"r": 138,
"g": 84,
"b": 159
},
"hsl": {
"h": 283.2,
"s": 30.864,
"l": 47.647
},
"oklch": {
"l": 0.53702,
"c": 0.12707,
"h": 315.9
},
"luminance": 0.14247
}Semantic roles & 50–950 ramp
primary
#8A549F
secondary
#9FBA94
accent
#C7617D
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B12
muted
#7F7C81