#8947BF#8947BF
#8947BF is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.6% C 0.184 H 306.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8947BF |
|---|---|
| RGB | rgb(137, 71, 191) |
| HSL | hsl(273, 48%, 51%) |
| HSV | hsv(273, 63%, 75%) |
| CMYK | cmyk(28.3%, 62.8%, 0%, 25.1%) |
| CIE-LAB | lab(43.63, 49.82, -52.25) |
| CIE-LCH | lch(43.63, 72.19, 313.64°) |
| OKLab | oklab(53.56% 0.1093 -0.1477) |
| OKLCH | oklch(53.56% 0.184 306.5) |
| XYZ | xyz(21.9717, 13.5866, 50.7451) |
| Luminance | 0.1359 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.21
Purply
#983FB2
ΔE00 4.36
Royal Purple
#7851A9
ΔE00 5.15
Blueviolet
#8A2BE2
ΔE00 6.31
Deep Lavender
#8D5EB7
ΔE00 6.53
Purpley
#8756E4
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8947BF #7DBF47
analogous
#4D47BF #8947BF #BF47B9
triadic
#8947BF #BF8947 #47BF89
tetradic
#8947BF #BF4D47 #7DBF47 #47B9BF
square
#8947BF #BF4D47 #7DBF47 #47B9BF
split-complementary
#8947BF #B9BF47 #47BF4D
monochromatic
#492468 #693495 #8947BF #A674CF #C3A2DF
Accessibility & contrast
On white
5.65
#8947BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#8947BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8947BF
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8947BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8947BF | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2E68BC
Tritanopia (blue-blind)
#80607C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8947bf; /* rgb */ color: rgb(137, 71, 191); /* oklch */ color: oklch(53.6% 0.184 306.5);
Tailwind
colors: {
custom: {
50: '#af7ed3',
500: '#8947bf',
950: '#000000',
},
}SCSS
$custom: #8947bf; $custom-light: #af7ed3; $custom-dark: #000000;
JSON
{
"hex": "#8947bf",
"rgb": {
"r": 137,
"g": 71,
"b": 191
},
"hsl": {
"h": 273,
"s": 48.387,
"l": 51.373
},
"oklch": {
"l": 0.53561,
"c": 0.1838,
"h": 306.5
},
"luminance": 0.13586
}Semantic roles & 50–950 ramp
primary
#8947BF
secondary
#AECB96
accent
#D8508D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83