#8949BA#8949BA
#8949BA is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.5% C 0.175 H 307.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8949BA |
|---|---|
| RGB | rgb(137, 73, 186) |
| HSL | hsl(274, 45%, 51%) |
| HSV | hsv(274, 61%, 73%) |
| CMYK | cmyk(26.3%, 60.8%, 0%, 27.1%) |
| CIE-LAB | lab(43.70, 47.63, -49.23) |
| CIE-LCH | lch(43.70, 68.49, 314.05°) |
| OKLab | oklab(53.51% 0.107 -0.1389) |
| OKLCH | oklch(53.51% 0.175 307.6) |
| XYZ | xyz(21.5602, 13.6289, 47.9397) |
| Luminance | 0.1363 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.99
Royal Purple
#7851A9
ΔE00 4.53
Darkorchid
#9932CC
ΔE00 4.81
Deep Lavender
#8D5EB7
ΔE00 5.92
Medium Purple
#9E43A2
ΔE00 7.18
Blueviolet
#8A2BE2
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8949BA #7ABA49
analogous
#5049BA #8949BA #BA49B3
triadic
#8949BA #BA8949 #49BA89
tetradic
#8949BA #BA5049 #7ABA49 #49B3BA
square
#8949BA #BA5049 #7ABA49 #49B3BA
split-complementary
#8949BA #B3BA49 #49BA50
monochromatic
#482663 #69368F #8949BA #A675CB #C3A2DC
Accessibility & contrast
On white
5.64
#8949BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#8949BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8949BA
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8949BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8949BA | 1.00 | 5.64 | 3.73 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1565BE
Deuteranopia (green-blind)
#3668B7
Tritanopia (blue-blind)
#815F7B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8949ba; /* rgb */ color: rgb(137, 73, 186); /* oklch */ color: oklch(53.5% 0.175 307.6);
Tailwind
colors: {
custom: {
50: '#af7fcf',
500: '#8949ba',
950: '#000000',
},
}SCSS
$custom: #8949ba; $custom-light: #af7fcf; $custom-dark: #000000;
JSON
{
"hex": "#8949ba",
"rgb": {
"r": 137,
"g": 73,
"b": 186
},
"hsl": {
"h": 273.982,
"s": 45.02,
"l": 50.784
},
"oklch": {
"l": 0.53505,
"c": 0.17536,
"h": 307.6
},
"luminance": 0.13629
}Semantic roles & 50–950 ramp
primary
#8949BA
secondary
#ACC896
accent
#D5538B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82