#9847C8#9847C8
#9847C8 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.9% C 0.198 H 310.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #9847C8 |
|---|---|
| RGB | rgb(152, 71, 200) |
| HSL | hsl(278, 54%, 53%) |
| HSV | hsv(278, 65%, 78%) |
| CMYK | cmyk(24%, 64.5%, 0%, 21.6%) |
| CIE-LAB | lab(46.11, 55.28, -53.38) |
| CIE-LCH | lch(46.11, 76.85, 316.00°) |
| OKLab | oklab(55.95% 0.1284 -0.1506) |
| OKLCH | oklch(55.95% 0.198 310.4) |
| XYZ | xyz(25.6255, 15.3526, 56.2458) |
| Luminance | 0.1535 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 3.66
Purply
#983FB2
ΔE00 4.11
Lightish Purple
#A552E6
ΔE00 5.94
Amethyst
#9B5FC0
ΔE00 6.27
Vibrant Purple
#AD03DE
ΔE00 6.35
Deep Lavender
#8D5EB7
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9847C8 #77C847
analogous
#5747C8 #9847C8 #C847B8
triadic
#9847C8 #C89847 #47C898
tetradic
#9847C8 #C85747 #77C847 #47B8C8
square
#9847C8 #C85747 #77C847 #47B8C8
split-complementary
#9847C8 #B8C847 #47C857
monochromatic
#552272 #7730A2 #9847C8 #B276D6 #CDA5E4
Accessibility & contrast
On white
5.16
#9847C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#9847C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9847C8
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9847C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9847C8 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#376FC5
Tritanopia (blue-blind)
#926181
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9847c8; /* rgb */ color: rgb(152, 71, 200); /* oklch */ color: oklch(55.9% 0.198 310.4);
Tailwind
colors: {
custom: {
50: '#ba7fd9',
500: '#9847c8',
950: '#000000',
},
}SCSS
$custom: #9847c8; $custom-light: #ba7fd9; $custom-dark: #000000;
JSON
{
"hex": "#9847c8",
"rgb": {
"r": 152,
"g": 71,
"b": 200
},
"hsl": {
"h": 277.674,
"s": 53.975,
"l": 53.137
},
"oklch": {
"l": 0.55947,
"c": 0.19788,
"h": 310.4
},
"luminance": 0.15352
}Semantic roles & 50–950 ramp
primary
#9847C8
secondary
#AED19A
accent
#DD4A81
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83