#9841B0#9841B0
#9841B0 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 53.7% C 0.182 H 318.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9841B0 |
|---|---|
| RGB | rgb(152, 65, 176) |
| HSL | hsl(287, 46%, 47%) |
| HSV | hsv(287, 63%, 69%) |
| CMYK | cmyk(13.6%, 63.1%, 0%, 31%) |
| CIE-LAB | lab(43.64, 53.03, -43.33) |
| CIE-LCH | lch(43.64, 68.48, 320.75°) |
| OKLab | oklab(53.7% 0.1361 -0.1211) |
| OKLCH | oklch(53.7% 0.182 318.3) |
| XYZ | xyz(22.6746, 13.5915, 42.4949) |
| Luminance | 0.1359 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 0.55
Medium Purple
#9E43A2
ΔE00 3.48
Ugly Purple
#A442A0
ΔE00 4.73
Barney
#AC1DB8
ΔE00 4.81
Darkorchid
#9932CC
ΔE00 5.05
Warm Purple
#952E8F
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9841B0 #59B041
analogous
#6141B0 #9841B0 #B04191
triadic
#9841B0 #B09841 #41B098
tetradic
#9841B0 #B06141 #59B041 #4191B0
square
#9841B0 #B06141 #59B041 #4191B0
split-complementary
#9841B0 #91B041 #41B061
monochromatic
#4B2057 #713083 #9841B0 #B267C7 #C994D7
Accessibility & contrast
On white
5.65
#9841B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#9841B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9841B0
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9841B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9841B0 | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2061B3
Deuteranopia (green-blind)
#466AAD
Tritanopia (blue-blind)
#985473
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #9841b0; /* rgb */ color: rgb(152, 65, 176); /* oklch */ color: oklch(53.7% 0.182 318.3);
Tailwind
colors: {
custom: {
50: '#b97bc8',
500: '#9841b0',
950: '#000000',
},
}SCSS
$custom: #9841b0; $custom-light: #b97bc8; $custom-dark: #000000;
JSON
{
"hex": "#9841b0",
"rgb": {
"r": 152,
"g": 65,
"b": 176
},
"hsl": {
"h": 287.027,
"s": 46.058,
"l": 47.255
},
"oklch": {
"l": 0.53695,
"c": 0.1822,
"h": 318.3
},
"luminance": 0.13591
}Semantic roles & 50–950 ramp
primary
#9841B0
secondary
#96C38A
accent
#D6526F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82