#9847BF#9847BF
#9847BF is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.189 H 313.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9847BF |
|---|---|
| RGB | rgb(152, 71, 191) |
| HSL | hsl(281, 48%, 51%) |
| HSV | hsv(281, 63%, 75%) |
| CMYK | cmyk(20.4%, 62.8%, 0%, 25.1%) |
| CIE-LAB | lab(45.56, 53.33, -49.05) |
| CIE-LCH | lch(45.56, 72.46, 317.39°) |
| OKLab | oklab(55.37% 0.1287 -0.1379) |
| OKLCH | oklch(55.37% 0.189 313) |
| XYZ | xyz(24.6045, 14.9441, 50.8685) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.81
Darkorchid
#9932CC
ΔE00 4.06
Medium Purple
#9E43A2
ΔE00 5.87
Deep Lavender
#8D5EB7
ΔE00 6.08
Amethyst
#9B5FC0
ΔE00 6.15
Barney
#AC1DB8
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9847BF #6EBF47
analogous
#5C47BF #9847BF #BF47AA
triadic
#9847BF #BF9847 #47BF98
tetradic
#9847BF #BF5C47 #6EBF47 #47AABF
square
#9847BF #BF5C47 #6EBF47 #47AABF
split-complementary
#9847BF #AABF47 #47BF5C
monochromatic
#522468 #753495 #9847BF #B174CF #CBA2DF
Accessibility & contrast
On white
5.27
#9847BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#9847BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9847BF
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9847BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9847BF | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1568C3
Deuteranopia (green-blind)
#406EBC
Tritanopia (blue-blind)
#945E7D
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9847bf; /* rgb */ color: rgb(152, 71, 191); /* oklch */ color: oklch(55.4% 0.189 313.0);
Tailwind
colors: {
custom: {
50: '#ba7fd3',
500: '#9847bf',
950: '#000000',
},
}SCSS
$custom: #9847bf; $custom-light: #ba7fd3; $custom-dark: #000000;
JSON
{
"hex": "#9847bf",
"rgb": {
"r": 152,
"g": 71,
"b": 191
},
"hsl": {
"h": 280.5,
"s": 48.387,
"l": 51.373
},
"oklch": {
"l": 0.55368,
"c": 0.18863,
"h": 313
},
"luminance": 0.14943
}Semantic roles & 50–950 ramp
primary
#9847BF
secondary
#A8CB96
accent
#D8507C
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83