#8A54BB#8A54BB
#8A54BB is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.3% C 0.160 H 306.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8A54BB |
|---|---|
| RGB | rgb(138, 84, 187) |
| HSL | hsl(271, 43%, 53%) |
| HSV | hsv(271, 55%, 73%) |
| CMYK | cmyk(26.2%, 55.1%, 0%, 26.7%) |
| CIE-LAB | lab(46.09, 42.24, -45.98) |
| CIE-LCH | lch(46.09, 62.44, 312.57°) |
| OKLab | oklab(55.3% 0.0942 -0.1294) |
| OKLCH | oklch(55.3% 0.16 306) |
| XYZ | xyz(22.6193, 15.3320, 48.7718) |
| Luminance | 0.1533 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.19
Royal Purple
#7851A9
ΔE00 4.37
Amethyst
#9B5FC0
ΔE00 4.92
Purply
#983FB2
ΔE00 5.69
Purpley
#8756E4
ΔE00 6.69
Darkorchid
#9932CC
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A54BB #85BB54
analogous
#5654BB #8A54BB #BB54B8
triadic
#8A54BB #BB8A54 #54BB8A
tetradic
#8A54BB #BB5654 #85BB54 #54B8BB
square
#8A54BB #BB5654 #85BB54 #54B8BB
split-complementary
#8A54BB #B8BB54 #54BB56
monochromatic
#4C2A6A #6B3C96 #8A54BB #A880CC #C6ACDE
Accessibility & contrast
On white
5.16
#8A54BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#8A54BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A54BB
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A54BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A54BB | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316BBE
Deuteranopia (green-blind)
#436DB9
Tritanopia (blue-blind)
#82677F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8a54bb; /* rgb */ color: rgb(138, 84, 187); /* oklch */ color: oklch(55.3% 0.160 306.0);
Tailwind
colors: {
custom: {
50: '#af86d0',
500: '#8a54bb',
950: '#000000',
},
}SCSS
$custom: #8a54bb; $custom-light: #af86d0; $custom-dark: #000000;
JSON
{
"hex": "#8a54bb",
"rgb": {
"r": 138,
"g": 84,
"b": 187
},
"hsl": {
"h": 271.456,
"s": 43.096,
"l": 53.137
},
"oklch": {
"l": 0.553,
"c": 0.16004,
"h": 306
},
"luminance": 0.15332
}Semantic roles & 50–950 ramp
primary
#8A54BB
secondary
#B4CC9F
accent
#D35591
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82