#8A54AD#8A54AD
#8A54AD is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.5% C 0.143 H 310.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8A54AD |
|---|---|
| RGB | rgb(138, 84, 173) |
| HSL | hsl(276, 35%, 50%) |
| HSV | hsv(276, 51%, 68%) |
| CMYK | cmyk(20.2%, 51.4%, 0%, 32.2%) |
| CIE-LAB | lab(45.31, 38.95, -39.03) |
| CIE-LCH | lch(45.31, 55.14, 314.94°) |
| OKLab | oklab(54.47% 0.0931 -0.1091) |
| OKLCH | oklch(54.47% 0.143 310.5) |
| XYZ | xyz(21.1930, 14.7614, 41.2599) |
| Luminance | 0.1476 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.32
Royal Purple
#7851A9
ΔE00 3.98
Purply
#983FB2
ΔE00 5.29
Amethyst
#9B5FC0
ΔE00 5.38
Medium Purple
#9E43A2
ΔE00 6.26
Ugly Purple
#A442A0
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A54AD #77AD54
analogous
#5D54AD #8A54AD #AD54A4
triadic
#8A54AD #AD8A54 #54AD8A
tetradic
#8A54AD #AD5D54 #77AD54 #54A4AD
square
#8A54AD #AD5D54 #77AD54 #54A4AD
split-complementary
#8A54AD #A4AD54 #54AD5D
monochromatic
#482C5B #693F84 #8A54AD #A67DC1 #C3A7D5
Accessibility & contrast
On white
5.31
#8A54AD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#8A54AD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A54AD
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A54AD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A54AD | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D69B0
Deuteranopia (green-blind)
#4D6CAB
Tritanopia (blue-blind)
#866378
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8a54ad; /* rgb */ color: rgb(138, 84, 173); /* oklch */ color: oklch(54.5% 0.143 310.5);
Tailwind
colors: {
custom: {
50: '#ae86c6',
500: '#8a54ad',
950: '#000000',
},
}SCSS
$custom: #8a54ad; $custom-light: #ae86c6; $custom-dark: #000000;
JSON
{
"hex": "#8a54ad",
"rgb": {
"r": 138,
"g": 84,
"b": 173
},
"hsl": {
"h": 276.404,
"s": 35.178,
"l": 50.392
},
"oklch": {
"l": 0.54471,
"c": 0.14345,
"h": 310.5
},
"luminance": 0.14761
}Semantic roles & 50–950 ramp
primary
#8A54AD
secondary
#AAC29B
accent
#CB5D88
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#100B13
muted
#7F7C82