#9846BF#9846BF
#9846BF is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.2% C 0.190 H 313.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #9846BF |
|---|---|
| RGB | rgb(152, 70, 191) |
| HSL | hsl(281, 49%, 51%) |
| HSV | hsv(281, 63%, 75%) |
| CMYK | cmyk(20.4%, 63.4%, 0%, 25.1%) |
| CIE-LAB | lab(45.38, 53.80, -49.33) |
| CIE-LCH | lch(45.38, 73.00, 317.48°) |
| OKLab | oklab(55.24% 0.1299 -0.1387) |
| OKLCH | oklch(55.24% 0.19 313.1) |
| XYZ | xyz(24.5414, 14.8180, 50.8475) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.68
Darkorchid
#9932CC
ΔE00 3.87
Medium Purple
#9E43A2
ΔE00 5.86
Barney
#AC1DB8
ΔE00 6.04
Deep Lavender
#8D5EB7
ΔE00 6.28
Amethyst
#9B5FC0
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9846BF #6DBF46
analogous
#5B46BF #9846BF #BF46A9
triadic
#9846BF #BF9846 #46BF98
tetradic
#9846BF #BF5B46 #6DBF46 #46A9BF
square
#9846BF #BF5B46 #6DBF46 #46A9BF
split-complementary
#9846BF #A9BF46 #46BF5B
monochromatic
#512467 #753394 #9846BF #B173CF #CBA1DE
Accessibility & contrast
On white
5.30
#9846BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#9846BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9846BF
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9846BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9846BF | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1167C3
Deuteranopia (green-blind)
#3F6DBC
Tritanopia (blue-blind)
#945D7C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9846bf; /* rgb */ color: rgb(152, 70, 191); /* oklch */ color: oklch(55.2% 0.190 313.1);
Tailwind
colors: {
custom: {
50: '#ba7ed3',
500: '#9846bf',
950: '#000000',
},
}SCSS
$custom: #9846bf; $custom-light: #ba7ed3; $custom-dark: #000000;
JSON
{
"hex": "#9846bf",
"rgb": {
"r": 152,
"g": 70,
"b": 191
},
"hsl": {
"h": 280.661,
"s": 48.594,
"l": 51.176
},
"oklch": {
"l": 0.55242,
"c": 0.19005,
"h": 313.1
},
"luminance": 0.14817
}Semantic roles & 50–950 ramp
primary
#9846BF
secondary
#A7CB96
accent
#D8507C
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83