#9B39B2#9B39B2
#9B39B2 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.3% C 0.196 H 319.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9B39B2 |
|---|---|
| RGB | rgb(155, 57, 178) |
| HSL | hsl(289, 51%, 46%) |
| HSV | hsv(289, 68%, 70%) |
| CMYK | cmyk(12.9%, 68%, 0%, 30.2%) |
| CIE-LAB | lab(42.93, 57.64, -45.62) |
| CIE-LCH | lch(42.93, 73.51, 321.64°) |
| OKLab | oklab(53.31% 0.149 -0.1277) |
| OKLCH | oklch(53.31% 0.196 319.4) |
| XYZ | xyz(23.0155, 13.1103, 43.4291) |
| Luminance | 0.1311 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.09
Barney
#AC1DB8
ΔE00 3.52
Medium Purple
#9E43A2
ΔE00 4.05
Darkorchid
#9932CC
ΔE00 4.39
Ugly Purple
#A442A0
ΔE00 5.13
Warm Purple
#952E8F
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B39B2 #50B239
analogous
#5E39B2 #9B39B2 #B2398C
triadic
#9B39B2 #B29B39 #39B29B
tetradic
#9B39B2 #B25E39 #50B239 #398CB2
square
#9B39B2 #B25E39 #50B239 #398CB2
split-complementary
#9B39B2 #8CB239 #39B25E
monochromatic
#4A1B55 #732A84 #9B39B2 #B65DCB #CB8BDA
Accessibility & contrast
On white
5.80
#9B39B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#9B39B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B39B2
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B39B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B39B2 | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#065FB6
Deuteranopia (green-blind)
#4269AF
Tritanopia (blue-blind)
#9B4F71
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #9b39b2; /* rgb */ color: rgb(155, 57, 178); /* oklch */ color: oklch(53.3% 0.196 319.4);
Tailwind
colors: {
custom: {
50: '#bc77ca',
500: '#9b39b2',
950: '#000000',
},
}SCSS
$custom: #9b39b2; $custom-light: #bc77ca; $custom-dark: #000000;
JSON
{
"hex": "#9b39b2",
"rgb": {
"r": 155,
"g": 57,
"b": 178
},
"hsl": {
"h": 288.595,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.53308,
"c": 0.19624,
"h": 319.4
},
"luminance": 0.13109
}Semantic roles & 50–950 ramp
primary
#9B39B2
secondary
#8FC482
accent
#DB4D68
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120913
muted
#817B82