#9841BB#9841BB
#9841BB is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.4% C 0.193 H 314.8°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #9841BB |
|---|---|
| RGB | rgb(152, 65, 187) |
| HSL | hsl(283, 48%, 49%) |
| HSV | hsv(283, 65%, 73%) |
| CMYK | cmyk(18.7%, 65.2%, 0%, 26.7%) |
| CIE-LAB | lab(44.30, 55.28, -48.74) |
| CIE-LCH | lch(44.30, 73.70, 318.60°) |
| OKLab | oklab(54.38% 0.1359 -0.137) |
| OKLCH | oklch(54.38% 0.193 314.8) |
| XYZ | xyz(23.8074, 14.0446, 48.4609) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.62
Darkorchid
#9932CC
ΔE00 3.47
Barney
#AC1DB8
ΔE00 5.06
Medium Purple
#9E43A2
ΔE00 5.26
Ugly Purple
#A442A0
ΔE00 6.39
Vibrant Purple
#AD03DE
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9841BB #64BB41
analogous
#5B41BB #9841BB #BB41A1
triadic
#9841BB #BB9841 #41BB98
tetradic
#9841BB #BB5B41 #64BB41 #41A1BB
square
#9841BB #BB5B41 #64BB41 #41A1BB
split-complementary
#9841BB #A1BB41 #41BB5B
monochromatic
#4E2160 #73318E #9841BB #B16DCC #C99ADC
Accessibility & contrast
On white
5.51
#9841BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#9841BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9841BB
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9841BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9841BB | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0564BF
Deuteranopia (green-blind)
#3E6BB8
Tritanopia (blue-blind)
#955878
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9841bb; /* rgb */ color: rgb(152, 65, 187); /* oklch */ color: oklch(54.4% 0.193 314.8);
Tailwind
colors: {
custom: {
50: '#ba7cd0',
500: '#9841bb',
950: '#000000',
},
}SCSS
$custom: #9841bb; $custom-light: #ba7cd0; $custom-dark: #000000;
JSON
{
"hex": "#9841bb",
"rgb": {
"r": 152,
"g": 65,
"b": 187
},
"hsl": {
"h": 282.787,
"s": 48.413,
"l": 49.412
},
"oklch": {
"l": 0.54379,
"c": 0.19295,
"h": 314.8
},
"luminance": 0.14044
}Semantic roles & 50–950 ramp
primary
#9841BB
secondary
#A0C890
accent
#D85077
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82