#9841BA#9841BA
#9841BA is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.3% C 0.192 H 315.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #9841BA |
|---|---|
| RGB | rgb(152, 65, 186) |
| HSL | hsl(283, 48%, 49%) |
| HSV | hsv(283, 65%, 73%) |
| CMYK | cmyk(18.3%, 65.1%, 0%, 27.1%) |
| CIE-LAB | lab(44.24, 55.07, -48.25) |
| CIE-LCH | lch(44.24, 73.22, 318.78°) |
| OKLab | oklab(54.32% 0.1359 -0.1355) |
| OKLCH | oklch(54.32% 0.192 315.1) |
| XYZ | xyz(23.7007, 14.0020, 47.8990) |
| Luminance | 0.1400 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.45
Darkorchid
#9932CC
ΔE00 3.60
Barney
#AC1DB8
ΔE00 5.01
Medium Purple
#9E43A2
ΔE00 5.10
Ugly Purple
#A442A0
ΔE00 6.24
Vibrant Purple
#AD03DE
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9841BA #63BA41
analogous
#5B41BA #9841BA #BA41A0
triadic
#9841BA #BA9841 #41BA98
tetradic
#9841BA #BA5B41 #63BA41 #41A0BA
square
#9841BA #BA5B41 #63BA41 #41A0BA
split-complementary
#9841BA #A0BA41 #41BA5B
monochromatic
#4E215F #73318D #9841BA #B16CCC #C99ADC
Accessibility & contrast
On white
5.53
#9841BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#9841BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9841BA
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9841BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9841BA | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0964BE
Deuteranopia (green-blind)
#3E6BB7
Tritanopia (blue-blind)
#955878
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9841ba; /* rgb */ color: rgb(152, 65, 186); /* oklch */ color: oklch(54.3% 0.192 315.1);
Tailwind
colors: {
custom: {
50: '#ba7ccf',
500: '#9841ba',
950: '#000000',
},
}SCSS
$custom: #9841ba; $custom-light: #ba7ccf; $custom-dark: #000000;
JSON
{
"hex": "#9841ba",
"rgb": {
"r": 152,
"g": 65,
"b": 186
},
"hsl": {
"h": 283.14,
"s": 48.207,
"l": 49.216
},
"oklch": {
"l": 0.54316,
"c": 0.19197,
"h": 315.1
},
"luminance": 0.14001
}Semantic roles & 50–950 ramp
primary
#9841BA
secondary
#9FC88F
accent
#D85076
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120A14
muted
#817C82