#9846B3#9846B3
#9846B3 is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.5% C 0.178 H 316.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #9846B3 |
|---|---|
| RGB | rgb(152, 70, 179) |
| HSL | hsl(285, 44%, 49%) |
| HSV | hsv(285, 61%, 70%) |
| CMYK | cmyk(15.1%, 60.9%, 0%, 29.8%) |
| CIE-LAB | lab(44.68, 51.28, -43.45) |
| CIE-LCH | lch(44.68, 67.21, 319.73°) |
| OKLab | oklab(54.5% 0.1299 -0.1215) |
| OKLCH | oklch(54.5% 0.178 316.9) |
| XYZ | xyz(23.2745, 14.3113, 44.1754) |
| Luminance | 0.1431 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.47
Medium Purple
#9E43A2
ΔE00 3.85
Ugly Purple
#A442A0
ΔE00 5.05
Darkorchid
#9932CC
ΔE00 5.21
Barney
#AC1DB8
ΔE00 5.61
Deep Lavender
#8D5EB7
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9846B3 #61B346
analogous
#6246B3 #9846B3 #B34698
triadic
#9846B3 #B39846 #46B398
tetradic
#9846B3 #B36246 #61B346 #4698B3
square
#9846B3 #B36246 #61B346 #4698B3
split-complementary
#9846B3 #98B346 #46B362
monochromatic
#4D245B #733587 #9846B3 #B16FC7 #C99BD8
Accessibility & contrast
On white
5.44
#9846B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#9846B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9846B3
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9846B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9846B3 | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2765B6
Deuteranopia (green-blind)
#486CB0
Tritanopia (blue-blind)
#975976
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #9846b3; /* rgb */ color: rgb(152, 70, 179); /* oklch */ color: oklch(54.5% 0.178 316.9);
Tailwind
colors: {
custom: {
50: '#b97eca',
500: '#9846b3',
950: '#000000',
},
}SCSS
$custom: #9846b3; $custom-light: #b97eca; $custom-dark: #000000;
JSON
{
"hex": "#9846b3",
"rgb": {
"r": 152,
"g": 70,
"b": 179
},
"hsl": {
"h": 285.138,
"s": 43.775,
"l": 48.824
},
"oklch": {
"l": 0.54501,
"c": 0.17791,
"h": 316.9
},
"luminance": 0.1431
}Semantic roles & 50–950 ramp
primary
#9846B3
secondary
#9DC490
accent
#D45474
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82