#9849BE#9849BE
#9849BE is a mid, vivid purple. Relative luminance 0.152; OKLCH L 55.6% C 0.185 H 313.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #9849BE |
|---|---|
| RGB | rgb(152, 73, 190) |
| HSL | hsl(281, 47%, 52%) |
| HSV | hsv(281, 62%, 75%) |
| CMYK | cmyk(20%, 61.6%, 0%, 25.5%) |
| CIE-LAB | lab(45.85, 52.15, -48.00) |
| CIE-LCH | lch(45.85, 70.88, 317.37°) |
| OKLab | oklab(55.56% 0.1263 -0.1348) |
| OKLCH | oklch(55.56% 0.185 313.1) |
| XYZ | xyz(24.6241, 15.1589, 50.3340) |
| Luminance | 0.1516 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.97
Darkorchid
#9932CC
ΔE00 4.52
Deep Lavender
#8D5EB7
ΔE00 5.67
Amethyst
#9B5FC0
ΔE00 5.72
Medium Purple
#9E43A2
ΔE00 5.76
Barney
#AC1DB8
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9849BE #6FBE49
analogous
#5E49BE #9849BE #BE49A9
triadic
#9849BE #BE9849 #49BE98
tetradic
#9849BE #BE5E49 #6FBE49 #49A9BE
square
#9849BE #BE5E49 #6FBE49 #49A9BE
split-complementary
#9849BE #A9BE49 #49BE5E
monochromatic
#522568 #763595 #9849BE #B276CE #CBA3DE
Accessibility & contrast
On white
5.21
#9849BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#9849BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9849BE
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9849BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9849BE | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D68C2
Deuteranopia (green-blind)
#426EBB
Tritanopia (blue-blind)
#945F7D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #9849be; /* rgb */ color: rgb(152, 73, 190); /* oklch */ color: oklch(55.6% 0.185 313.1);
Tailwind
colors: {
custom: {
50: '#b980d2',
500: '#9849be',
950: '#000000',
},
}SCSS
$custom: #9849be; $custom-light: #b980d2; $custom-dark: #000000;
JSON
{
"hex": "#9849be",
"rgb": {
"r": 152,
"g": 73,
"b": 190
},
"hsl": {
"h": 280.513,
"s": 47.368,
"l": 51.569
},
"oklch": {
"l": 0.55561,
"c": 0.18474,
"h": 313.1
},
"luminance": 0.15158
}Semantic roles & 50–950 ramp
primary
#9849BE
secondary
#A8CB98
accent
#D7517C
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83