#8A55AF#8A55AF
#8A55AF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.7% C 0.144 H 309.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8A55AF |
|---|---|
| RGB | rgb(138, 85, 175) |
| HSL | hsl(275, 36%, 51%) |
| HSV | hsv(275, 51%, 69%) |
| CMYK | cmyk(21.1%, 51.4%, 0%, 31.4%) |
| CIE-LAB | lab(45.63, 38.85, -39.69) |
| CIE-LCH | lch(45.63, 55.54, 314.39°) |
| OKLab | oklab(54.75% 0.0919 -0.111) |
| OKLCH | oklch(54.75% 0.144 309.6) |
| XYZ | xyz(21.4661, 14.9958, 42.3128) |
| Luminance | 0.1499 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.93
Royal Purple
#7851A9
ΔE00 4.00
Amethyst
#9B5FC0
ΔE00 5.07
Purply
#983FB2
ΔE00 5.51
Medium Purple
#9E43A2
ΔE00 6.61
Ugly Purple
#A442A0
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A55AF #7AAF55
analogous
#5D55AF #8A55AF #AF55A7
triadic
#8A55AF #AF8A55 #55AF8A
tetradic
#8A55AF #AF5D55 #7AAF55 #55A7AF
square
#8A55AF #AF5D55 #7AAF55 #55A7AF
split-complementary
#8A55AF #A7AF55 #55AF5D
monochromatic
#492C5E #6A4087 #8A55AF #A77FC3 #C3A8D6
Accessibility & contrast
On white
5.25
#8A55AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#8A55AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A55AF
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A55AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A55AF | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D6AB2
Deuteranopia (green-blind)
#4D6DAD
Tritanopia (blue-blind)
#85647A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8a55af; /* rgb */ color: rgb(138, 85, 175); /* oklch */ color: oklch(54.7% 0.144 309.6);
Tailwind
colors: {
custom: {
50: '#ae86c7',
500: '#8a55af',
950: '#000000',
},
}SCSS
$custom: #8a55af; $custom-light: #ae86c7; $custom-dark: #000000;
JSON
{
"hex": "#8a55af",
"rgb": {
"r": 138,
"g": 85,
"b": 175
},
"hsl": {
"h": 275.333,
"s": 36,
"l": 50.98
},
"oklch": {
"l": 0.54745,
"c": 0.14416,
"h": 309.6
},
"luminance": 0.14995
}Semantic roles & 50–950 ramp
primary
#8A55AF
secondary
#ACC49C
accent
#CC5C8A
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#110B13
muted
#807C82