#9939B2#9939B2
#9939B2 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.0% C 0.195 H 318.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9939B2 |
|---|---|
| RGB | rgb(153, 57, 178) |
| HSL | hsl(288, 51%, 46%) |
| HSV | hsv(288, 68%, 70%) |
| CMYK | cmyk(14%, 68%, 0%, 30.2%) |
| CIE-LAB | lab(42.63, 57.19, -46.11) |
| CIE-LCH | lch(42.63, 73.46, 321.12°) |
| OKLab | oklab(53.04% 0.1466 -0.1292) |
| OKLCH | oklch(53.04% 0.195 318.6) |
| XYZ | xyz(22.6348, 12.9139, 43.4112) |
| Luminance | 0.1291 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.08
Barney
#AC1DB8
ΔE00 3.75
Darkorchid
#9932CC
ΔE00 4.23
Medium Purple
#9E43A2
ΔE00 4.31
Ugly Purple
#A442A0
ΔE00 5.44
Warm Purple
#952E8F
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9939B2 #52B239
analogous
#5C39B2 #9939B2 #B2398E
triadic
#9939B2 #B29939 #39B299
tetradic
#9939B2 #B25C39 #52B239 #398EB2
square
#9939B2 #B25C39 #52B239 #398EB2
split-complementary
#9939B2 #8EB239 #39B25C
monochromatic
#491B55 #712A84 #9939B2 #B45DCB #CA8BDA
Accessibility & contrast
On white
5.86
#9939B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#9939B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9939B2
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9939B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9939B2 | 1.00 | 5.86 | 3.58 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#015EB6
Deuteranopia (green-blind)
#4068AF
Tritanopia (blue-blind)
#994F71
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #9939b2; /* rgb */ color: rgb(153, 57, 178); /* oklch */ color: oklch(53.0% 0.195 318.6);
Tailwind
colors: {
custom: {
50: '#ba77ca',
500: '#9939b2',
950: '#000000',
},
}SCSS
$custom: #9939b2; $custom-light: #ba77ca; $custom-dark: #000000;
JSON
{
"hex": "#9939b2",
"rgb": {
"r": 153,
"g": 57,
"b": 178
},
"hsl": {
"h": 287.603,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.53036,
"c": 0.19538,
"h": 318.6
},
"luminance": 0.12913
}Semantic roles & 50–950 ramp
primary
#9939B2
secondary
#90C482
accent
#DB4D6A
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82