#9849B0#9849B0
#9849B0 is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.7% C 0.170 H 317.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #9849B0 |
|---|---|
| RGB | rgb(152, 73, 176) |
| HSL | hsl(286, 41%, 49%) |
| HSV | hsv(286, 59%, 69%) |
| CMYK | cmyk(13.6%, 58.5%, 0%, 31%) |
| CIE-LAB | lab(45.05, 49.19, -41.09) |
| CIE-LCH | lch(45.05, 64.10, 320.13°) |
| OKLab | oklab(54.72% 0.126 -0.1147) |
| OKLCH | oklch(54.72% 0.17 317.7) |
| XYZ | xyz(23.1668, 14.5760, 42.6590) |
| Luminance | 0.1457 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.19
Medium Purple
#9E43A2
ΔE00 3.42
Ugly Purple
#A442A0
ΔE00 4.60
Deep Lavender
#8D5EB7
ΔE00 6.00
Darkorchid
#9932CC
ΔE00 6.09
Barney
#AC1DB8
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9849B0 #61B049
analogous
#6549B0 #9849B0 #B04995
triadic
#9849B0 #B09849 #49B098
tetradic
#9849B0 #B06549 #61B049 #4995B0
square
#9849B0 #B06549 #61B049 #4995B0
split-complementary
#9849B0 #95B049 #49B065
monochromatic
#4D2559 #733785 #9849B0 #B172C4 #C99DD6
Accessibility & contrast
On white
5.36
#9849B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#9849B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9849B0
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9849B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9849B0 | 1.00 | 5.36 | 3.91 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3065B3
Deuteranopia (green-blind)
#4D6DAD
Tritanopia (blue-blind)
#975A75
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #9849b0; /* rgb */ color: rgb(152, 73, 176); /* oklch */ color: oklch(54.7% 0.170 317.7);
Tailwind
colors: {
custom: {
50: '#b980c8',
500: '#9849b0',
950: '#000000',
},
}SCSS
$custom: #9849b0; $custom-light: #b980c8; $custom-dark: #000000;
JSON
{
"hex": "#9849b0",
"rgb": {
"r": 152,
"g": 73,
"b": 176
},
"hsl": {
"h": 286.019,
"s": 41.365,
"l": 48.824
},
"oklch": {
"l": 0.54717,
"c": 0.17035,
"h": 317.7
},
"luminance": 0.14575
}Semantic roles & 50–950 ramp
primary
#9849B0
secondary
#9DC392
accent
#D15773
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#120A13
muted
#817C82