#9847BE#9847BE
#9847BE is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.3% C 0.188 H 313.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9847BE |
|---|---|
| RGB | rgb(152, 71, 190) |
| HSL | hsl(281, 48%, 51%) |
| HSV | hsv(281, 63%, 75%) |
| CMYK | cmyk(20%, 62.6%, 0%, 25.5%) |
| CIE-LAB | lab(45.50, 53.11, -48.57) |
| CIE-LCH | lch(45.50, 71.97, 317.56°) |
| OKLab | oklab(55.31% 0.1287 -0.1365) |
| OKLCH | oklch(55.31% 0.188 313.3) |
| XYZ | xyz(24.4948, 14.9003, 50.2909) |
| Luminance | 0.1490 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.67
Darkorchid
#9932CC
ΔE00 4.13
Medium Purple
#9E43A2
ΔE00 5.71
Deep Lavender
#8D5EB7
ΔE00 6.07
Barney
#AC1DB8
ΔE00 6.14
Amethyst
#9B5FC0
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9847BE #6DBE47
analogous
#5C47BE #9847BE #BE47A8
triadic
#9847BE #BE9847 #47BE98
tetradic
#9847BE #BE5C47 #6DBE47 #47A8BE
square
#9847BE #BE5C47 #6DBE47 #47A8BE
split-complementary
#9847BE #A8BE47 #47BE5C
monochromatic
#512466 #753494 #9847BE #B174CE #CBA1DE
Accessibility & contrast
On white
5.28
#9847BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#9847BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9847BE
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9847BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9847BE | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1767C2
Deuteranopia (green-blind)
#416EBB
Tritanopia (blue-blind)
#945D7C
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9847be; /* rgb */ color: rgb(152, 71, 190); /* oklch */ color: oklch(55.3% 0.188 313.3);
Tailwind
colors: {
custom: {
50: '#ba7fd2',
500: '#9847be',
950: '#000000',
},
}SCSS
$custom: #9847be; $custom-light: #ba7fd2; $custom-dark: #000000;
JSON
{
"hex": "#9847be",
"rgb": {
"r": 152,
"g": 71,
"b": 190
},
"hsl": {
"h": 280.84,
"s": 47.791,
"l": 51.176
},
"oklch": {
"l": 0.55305,
"c": 0.18761,
"h": 313.3
},
"luminance": 0.149
}Semantic roles & 50–950 ramp
primary
#9847BE
secondary
#A7CB96
accent
#D7507C
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83