#9941B2#9941B2
#9941B2 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.9% C 0.185 H 318.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9941B2 |
|---|---|
| RGB | rgb(153, 65, 178) |
| HSL | hsl(287, 47%, 48%) |
| HSV | hsv(287, 63%, 70%) |
| CMYK | cmyk(14%, 63.5%, 0%, 30.2%) |
| CIE-LAB | lab(43.90, 53.67, -44.09) |
| CIE-LCH | lch(43.90, 69.46, 320.60°) |
| OKLab | oklab(53.95% 0.1373 -0.1233) |
| OKLCH | oklch(53.95% 0.185 318.1) |
| XYZ | xyz(23.0619, 13.7682, 43.5536) |
| Luminance | 0.1377 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 0.51
Medium Purple
#9E43A2
ΔE00 3.67
Barney
#AC1DB8
ΔE00 4.72
Darkorchid
#9932CC
ΔE00 4.81
Ugly Purple
#A442A0
ΔE00 4.87
Warm Purple
#952E8F
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9941B2 #5AB241
analogous
#6141B2 #9941B2 #B24192
triadic
#9941B2 #B29941 #41B299
tetradic
#9941B2 #B26141 #5AB241 #4192B2
square
#9941B2 #B26141 #5AB241 #4192B2
split-complementary
#9941B2 #92B241 #41B261
monochromatic
#4C2058 #723185 #9941B2 #B368C8 #C995D8
Accessibility & contrast
On white
5.59
#9941B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#9941B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9941B2
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9941B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9941B2 | 1.00 | 5.59 | 3.75 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E62B5
Deuteranopia (green-blind)
#466BAF
Tritanopia (blue-blind)
#995574
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #9941b2; /* rgb */ color: rgb(153, 65, 178); /* oklch */ color: oklch(53.9% 0.185 318.1);
Tailwind
colors: {
custom: {
50: '#ba7bc9',
500: '#9941b2',
950: '#000000',
},
}SCSS
$custom: #9941b2; $custom-light: #ba7bc9; $custom-dark: #000000;
JSON
{
"hex": "#9941b2",
"rgb": {
"r": 153,
"g": 65,
"b": 178
},
"hsl": {
"h": 286.726,
"s": 46.502,
"l": 47.647
},
"oklch": {
"l": 0.53948,
"c": 0.18458,
"h": 318.1
},
"luminance": 0.13767
}Semantic roles & 50–950 ramp
primary
#9941B2
secondary
#98C48B
accent
#D6526F
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82