#9848BB#9848BB
#9848BB is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.2% C 0.183 H 314.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #9848BB |
|---|---|
| RGB | rgb(152, 72, 187) |
| HSL | hsl(282, 46%, 51%) |
| HSV | hsv(282, 61%, 73%) |
| CMYK | cmyk(18.7%, 61.5%, 0%, 26.7%) |
| CIE-LAB | lab(45.50, 51.99, -46.82) |
| CIE-LCH | lch(45.50, 69.97, 317.99°) |
| OKLab | oklab(55.25% 0.1275 -0.1314) |
| OKLCH | oklch(55.25% 0.183 314.1) |
| XYZ | xyz(24.2344, 14.8987, 48.6032) |
| Luminance | 0.1490 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.45
Darkorchid
#9932CC
ΔE00 4.59
Medium Purple
#9E43A2
ΔE00 5.23
Deep Lavender
#8D5EB7
ΔE00 5.86
Amethyst
#9B5FC0
ΔE00 5.98
Barney
#AC1DB8
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9848BB #6BBB48
analogous
#5E48BB #9848BB #BB48A4
triadic
#9848BB #BB9848 #48BB98
tetradic
#9848BB #BB5E48 #6BBB48 #48A4BB
square
#9848BB #BB5E48 #6BBB48 #48A4BB
split-complementary
#9848BB #A4BB48 #48BB5E
monochromatic
#512564 #753690 #9848BB #B175CC #CAA1DC
Accessibility & contrast
On white
5.28
#9848BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#9848BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9848BB
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9848BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9848BB | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2067BF
Deuteranopia (green-blind)
#446EB8
Tritanopia (blue-blind)
#955D7B
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #9848bb; /* rgb */ color: rgb(152, 72, 187); /* oklch */ color: oklch(55.2% 0.183 314.1);
Tailwind
colors: {
custom: {
50: '#b980d0',
500: '#9848bb',
950: '#000000',
},
}SCSS
$custom: #9848bb; $custom-light: #b980d0; $custom-dark: #000000;
JSON
{
"hex": "#9848bb",
"rgb": {
"r": 152,
"g": 72,
"b": 187
},
"hsl": {
"h": 281.739,
"s": 45.817,
"l": 50.784
},
"oklch": {
"l": 0.55246,
"c": 0.1831,
"h": 314.1
},
"luminance": 0.14898
}Semantic roles & 50–950 ramp
primary
#9848BB
secondary
#A5C996
accent
#D5527A
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120A14
muted
#817C82