#9849BA#9849BA
#9849BA is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.3% C 0.181 H 314.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #9849BA |
|---|---|
| RGB | rgb(152, 73, 186) |
| HSL | hsl(282, 45%, 51%) |
| HSV | hsv(282, 61%, 73%) |
| CMYK | cmyk(18.3%, 60.8%, 0%, 27.1%) |
| CIE-LAB | lab(45.62, 51.29, -46.05) |
| CIE-LCH | lch(45.62, 68.93, 318.08°) |
| OKLab | oklab(55.31% 0.1263 -0.1291) |
| OKLCH | oklch(55.31% 0.181 314.4) |
| XYZ | xyz(24.1929, 14.9864, 48.0631) |
| Luminance | 0.1499 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.53
Darkorchid
#9932CC
ΔE00 4.87
Medium Purple
#9E43A2
ΔE00 5.10
Deep Lavender
#8D5EB7
ΔE00 5.66
Amethyst
#9B5FC0
ΔE00 5.79
Ugly Purple
#A442A0
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9849BA #6BBA49
analogous
#5F49BA #9849BA #BA49A3
triadic
#9849BA #BA9849 #49BA98
tetradic
#9849BA #BA5F49 #6BBA49 #49A3BA
square
#9849BA #BA5F49 #6BBA49 #49A3BA
split-complementary
#9849BA #A3BA49 #49BA5F
monochromatic
#512663 #75368F #9849BA #B175CB #CAA2DC
Accessibility & contrast
On white
5.25
#9849BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#9849BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9849BA
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9849BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9849BA | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2468BE
Deuteranopia (green-blind)
#466EB7
Tritanopia (blue-blind)
#955D7B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9849ba; /* rgb */ color: rgb(152, 73, 186); /* oklch */ color: oklch(55.3% 0.181 314.4);
Tailwind
colors: {
custom: {
50: '#b980cf',
500: '#9849ba',
950: '#000000',
},
}SCSS
$custom: #9849ba; $custom-light: #b980cf; $custom-dark: #000000;
JSON
{
"hex": "#9849ba",
"rgb": {
"r": 152,
"g": 73,
"b": 186
},
"hsl": {
"h": 281.947,
"s": 45.02,
"l": 50.784
},
"oklch": {
"l": 0.55314,
"c": 0.18061,
"h": 314.4
},
"luminance": 0.14986
}Semantic roles & 50–950 ramp
primary
#9849BA
secondary
#A5C896
accent
#D5537A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82