#8A55BB#8A55BB
#8A55BB is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.5% C 0.158 H 305.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #8A55BB |
|---|---|
| RGB | rgb(138, 85, 187) |
| HSL | hsl(271, 43%, 53%) |
| HSV | hsv(271, 55%, 73%) |
| CMYK | cmyk(26.2%, 54.5%, 0%, 26.7%) |
| CIE-LAB | lab(46.30, 41.69, -45.65) |
| CIE-LCH | lch(46.30, 61.82, 312.41°) |
| OKLab | oklab(55.45% 0.0929 -0.1284) |
| OKLCH | oklch(55.45% 0.158 305.9) |
| XYZ | xyz(22.6975, 15.4883, 48.7979) |
| Luminance | 0.1549 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.94
Royal Purple
#7851A9
ΔE00 4.43
Amethyst
#9B5FC0
ΔE00 4.74
Purply
#983FB2
ΔE00 5.91
Purpley
#8756E4
ΔE00 6.67
Darkorchid
#9932CC
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A55BB #86BB55
analogous
#5755BB #8A55BB #BB55B9
triadic
#8A55BB #BB8A55 #55BB8A
tetradic
#8A55BB #BB5755 #86BB55 #55B9BB
square
#8A55BB #BB5755 #86BB55 #55B9BB
split-complementary
#8A55BB #B9BB55 #55BB57
monochromatic
#4C2B6B #6B3C97 #8A55BB #A881CC #C6ACDE
Accessibility & contrast
On white
5.12
#8A55BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#8A55BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A55BB
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A55BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A55BB | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#336CBE
Deuteranopia (green-blind)
#446EB9
Tritanopia (blue-blind)
#826880
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8a55bb; /* rgb */ color: rgb(138, 85, 187); /* oklch */ color: oklch(55.5% 0.158 305.9);
Tailwind
colors: {
custom: {
50: '#af87d0',
500: '#8a55bb',
950: '#000000',
},
}SCSS
$custom: #8a55bb; $custom-light: #af87d0; $custom-dark: #000000;
JSON
{
"hex": "#8a55bb",
"rgb": {
"r": 138,
"g": 85,
"b": 187
},
"hsl": {
"h": 271.176,
"s": 42.857,
"l": 53.333
},
"oklch": {
"l": 0.55454,
"c": 0.15848,
"h": 305.9
},
"luminance": 0.15488
}Semantic roles & 50–950 ramp
primary
#8A55BB
secondary
#B5CCA0
accent
#D35591
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82