#9847BB#9847BB
#9847BB is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.1% C 0.185 H 314.2°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #9847BB |
|---|---|
| RGB | rgb(152, 71, 187) |
| HSL | hsl(282, 46%, 51%) |
| HSV | hsv(282, 62%, 73%) |
| CMYK | cmyk(18.7%, 62%, 0%, 26.7%) |
| CIE-LAB | lab(45.32, 52.47, -47.11) |
| CIE-LCH | lch(45.32, 70.51, 318.08°) |
| OKLab | oklab(55.12% 0.1288 -0.1322) |
| OKLCH | oklch(55.12% 0.185 314.2) |
| XYZ | xyz(24.1703, 14.7705, 48.5818) |
| Luminance | 0.1477 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.29
Darkorchid
#9932CC
ΔE00 4.41
Medium Purple
#9E43A2
ΔE00 5.21
Barney
#AC1DB8
ΔE00 5.98
Deep Lavender
#8D5EB7
ΔE00 6.06
Amethyst
#9B5FC0
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9847BB #6ABB47
analogous
#5E47BB #9847BB #BB47A4
triadic
#9847BB #BB9847 #47BB98
tetradic
#9847BB #BB5E47 #6ABB47 #47A4BB
square
#9847BB #BB5E47 #6ABB47 #47A4BB
split-complementary
#9847BB #A4BB47 #47BB5E
monochromatic
#502563 #743590 #9847BB #B174CC #CAA0DC
Accessibility & contrast
On white
5.31
#9847BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.95
#9847BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9847BB
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9847BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9847BB | 1.00 | 5.31 | 3.95 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#436DB8
Tritanopia (blue-blind)
#955C7A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9847bb; /* rgb */ color: rgb(152, 71, 187); /* oklch */ color: oklch(55.1% 0.185 314.2);
Tailwind
colors: {
custom: {
50: '#b97fd0',
500: '#9847bb',
950: '#000000',
},
}SCSS
$custom: #9847bb; $custom-light: #b97fd0; $custom-dark: #000000;
JSON
{
"hex": "#9847bb",
"rgb": {
"r": 152,
"g": 71,
"b": 187
},
"hsl": {
"h": 281.897,
"s": 46.032,
"l": 50.588
},
"oklch": {
"l": 0.55117,
"c": 0.18455,
"h": 314.2
},
"luminance": 0.1477
}Semantic roles & 50–950 ramp
primary
#9847BB
secondary
#A5C995
accent
#D6527A
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82