#9849BB#9849BB
#9849BB is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.4% C 0.182 H 314.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9849BB |
|---|---|
| RGB | rgb(152, 73, 187) |
| HSL | hsl(282, 46%, 51%) |
| HSV | hsv(282, 61%, 73%) |
| CMYK | cmyk(18.7%, 61%, 0%, 26.7%) |
| CIE-LAB | lab(45.67, 51.50, -46.54) |
| CIE-LCH | lch(45.67, 69.41, 317.90°) |
| OKLab | oklab(55.38% 0.1263 -0.1306) |
| OKLCH | oklch(55.38% 0.182 314) |
| XYZ | xyz(24.2996, 15.0291, 48.6249) |
| Luminance | 0.1503 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.63
Darkorchid
#9932CC
ΔE00 4.77
Medium Purple
#9E43A2
ΔE00 5.26
Deep Lavender
#8D5EB7
ΔE00 5.66
Amethyst
#9B5FC0
ΔE00 5.76
Barney
#AC1DB8
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9849BB #6CBB49
analogous
#5F49BB #9849BB #BB49A5
triadic
#9849BB #BB9849 #49BB98
tetradic
#9849BB #BB5F49 #6CBB49 #49A5BB
square
#9849BB #BB5F49 #6CBB49 #49A5BB
split-complementary
#9849BB #A5BB49 #49BB5F
monochromatic
#512564 #753691 #9849BB #B176CC #CAA2DC
Accessibility & contrast
On white
5.24
#9849BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#9849BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9849BB
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9849BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9849BB | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#456EB8
Tritanopia (blue-blind)
#955E7B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9849bb; /* rgb */ color: rgb(152, 73, 187); /* oklch */ color: oklch(55.4% 0.182 314.0);
Tailwind
colors: {
custom: {
50: '#b980d0',
500: '#9849bb',
950: '#000000',
},
}SCSS
$custom: #9849bb; $custom-light: #b980d0; $custom-dark: #000000;
JSON
{
"hex": "#9849bb",
"rgb": {
"r": 152,
"g": 73,
"b": 187
},
"hsl": {
"h": 281.579,
"s": 45.6,
"l": 50.98
},
"oklch": {
"l": 0.55376,
"c": 0.18164,
"h": 314
},
"luminance": 0.15028
}Semantic roles & 50–950 ramp
primary
#9849BB
secondary
#A6C997
accent
#D5537B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82