#8954BA#8954BA
#8954BA is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.1% C 0.159 H 305.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #8954BA |
|---|---|
| RGB | rgb(137, 84, 186) |
| HSL | hsl(271, 43%, 53%) |
| HSV | hsv(271, 55%, 73%) |
| CMYK | cmyk(26.3%, 54.8%, 0%, 27.1%) |
| CIE-LAB | lab(45.91, 41.74, -45.68) |
| CIE-LCH | lch(45.91, 61.88, 312.42°) |
| OKLab | oklab(55.13% 0.0928 -0.1286) |
| OKLCH | oklch(55.13% 0.159 305.8) |
| XYZ | xyz(22.3479, 15.2044, 48.2023) |
| Luminance | 0.1520 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.21
Royal Purple
#7851A9
ΔE00 4.14
Amethyst
#9B5FC0
ΔE00 5.08
Purply
#983FB2
ΔE00 5.74
Purpley
#8756E4
ΔE00 6.81
Darkorchid
#9932CC
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8954BA #85BA54
analogous
#5654BA #8954BA #BA54B8
triadic
#8954BA #BA8954 #54BA89
tetradic
#8954BA #BA5654 #85BA54 #54B8BA
square
#8954BA #BA5654 #85BA54 #54B8BA
split-complementary
#8954BA #B8BA54 #54BA56
monochromatic
#4B2A69 #6A3C95 #8954BA #A780CC #C5ABDD
Accessibility & contrast
On white
5.20
#8954BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#8954BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8954BA
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8954BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8954BA | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316BBD
Deuteranopia (green-blind)
#436DB8
Tritanopia (blue-blind)
#81677F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8954ba; /* rgb */ color: rgb(137, 84, 186); /* oklch */ color: oklch(55.1% 0.159 305.8);
Tailwind
colors: {
custom: {
50: '#ae86cf',
500: '#8954ba',
950: '#000000',
},
}SCSS
$custom: #8954ba; $custom-light: #ae86cf; $custom-dark: #000000;
JSON
{
"hex": "#8954ba",
"rgb": {
"r": 137,
"g": 84,
"b": 186
},
"hsl": {
"h": 271.176,
"s": 42.5,
"l": 52.941
},
"oklch": {
"l": 0.55128,
"c": 0.15858,
"h": 305.8
},
"luminance": 0.15204
}Semantic roles & 50–950 ramp
primary
#8954BA
secondary
#B4CB9F
accent
#D25691
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82