#8847BF#8847BF
#8847BF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.4% C 0.184 H 306.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8847BF |
|---|---|
| RGB | rgb(136, 71, 191) |
| HSL | hsl(273, 48%, 51%) |
| HSV | hsv(273, 63%, 75%) |
| CMYK | cmyk(28.8%, 62.8%, 0%, 25.1%) |
| CIE-LAB | lab(43.51, 49.59, -52.45) |
| CIE-LCH | lch(43.51, 72.18, 313.39°) |
| OKLab | oklab(53.45% 0.108 -0.1484) |
| OKLCH | oklch(53.45% 0.184 306) |
| XYZ | xyz(21.8085, 13.5025, 50.7375) |
| Luminance | 0.1350 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.30
Purply
#983FB2
ΔE00 4.51
Royal Purple
#7851A9
ΔE00 5.07
Blueviolet
#8A2BE2
ΔE00 6.27
Deep Lavender
#8D5EB7
ΔE00 6.60
Purpley
#8756E4
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8847BF #7EBF47
analogous
#4C47BF #8847BF #BF47BA
triadic
#8847BF #BF8847 #47BF88
tetradic
#8847BF #BF4C47 #7EBF47 #47BABF
square
#8847BF #BF4C47 #7EBF47 #47BABF
split-complementary
#8847BF #BABF47 #47BF4C
monochromatic
#492468 #683495 #8847BF #A574CF #C3A2DF
Accessibility & contrast
On white
5.68
#8847BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#8847BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8847BF
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8847BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8847BF | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C3
Deuteranopia (green-blind)
#2D67BC
Tritanopia (blue-blind)
#7F607C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #8847bf; /* rgb */ color: rgb(136, 71, 191); /* oklch */ color: oklch(53.4% 0.184 306.0);
Tailwind
colors: {
custom: {
50: '#af7ed3',
500: '#8847bf',
950: '#000000',
},
}SCSS
$custom: #8847bf; $custom-light: #af7ed3; $custom-dark: #000000;
JSON
{
"hex": "#8847bf",
"rgb": {
"r": 136,
"g": 71,
"b": 191
},
"hsl": {
"h": 272.5,
"s": 48.387,
"l": 51.373
},
"oklch": {
"l": 0.53445,
"c": 0.18352,
"h": 306
},
"luminance": 0.13502
}Semantic roles & 50–950 ramp
primary
#8847BF
secondary
#AFCB96
accent
#D8508E
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110A14
muted
#807C83