#9846B8#9846B8
#9846B8 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.8% C 0.183 H 315.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9846B8 |
|---|---|
| RGB | rgb(152, 70, 184) |
| HSL | hsl(283, 45%, 50%) |
| HSV | hsv(283, 62%, 72%) |
| CMYK | cmyk(17.4%, 62%, 0%, 27.8%) |
| CIE-LAB | lab(44.97, 52.32, -45.92) |
| CIE-LCH | lch(44.97, 69.61, 318.73°) |
| OKLab | oklab(54.81% 0.13 -0.1287) |
| OKLCH | oklch(54.81% 0.183 315.3) |
| XYZ | xyz(23.7894, 14.5172, 46.8871) |
| Luminance | 0.1452 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.78
Darkorchid
#9932CC
ΔE00 4.57
Medium Purple
#9E43A2
ΔE00 4.70
Barney
#AC1DB8
ΔE00 5.70
Ugly Purple
#A442A0
ΔE00 5.84
Deep Lavender
#8D5EB7
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9846B8 #66B846
analogous
#5F46B8 #9846B8 #B8469F
triadic
#9846B8 #B89846 #46B898
tetradic
#9846B8 #B85F46 #66B846 #469FB8
square
#9846B8 #B85F46 #66B846 #469FB8
split-complementary
#9846B8 #9FB846 #46B85F
monochromatic
#4F245F #73358C #9846B8 #B172C9 #C99EDA
Accessibility & contrast
On white
5.38
#9846B8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#9846B8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9846B8
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9846B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9846B8 | 1.00 | 5.38 | 3.90 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2066BC
Deuteranopia (green-blind)
#456DB5
Tritanopia (blue-blind)
#965A78
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9846b8; /* rgb */ color: rgb(152, 70, 184); /* oklch */ color: oklch(54.8% 0.183 315.3);
Tailwind
colors: {
custom: {
50: '#b97ece',
500: '#9846b8',
950: '#000000',
},
}SCSS
$custom: #9846b8; $custom-light: #b97ece; $custom-dark: #000000;
JSON
{
"hex": "#9846b8",
"rgb": {
"r": 152,
"g": 70,
"b": 184
},
"hsl": {
"h": 283.158,
"s": 44.882,
"l": 49.804
},
"oklch": {
"l": 0.54805,
"c": 0.18294,
"h": 315.3
},
"luminance": 0.14516
}Semantic roles & 50–950 ramp
primary
#9846B8
secondary
#A2C793
accent
#D55378
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82