#9B339C#9B339C
#9B339C is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.185 H 327.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #9B339C |
|---|---|
| RGB | rgb(155, 51, 156) |
| HSL | hsl(299, 51%, 41%) |
| HSV | hsv(299, 67%, 61%) |
| CMYK | cmyk(0.6%, 67.3%, 0%, 38.8%) |
| CIE-LAB | lab(40.80, 56.02, -35.90) |
| CIE-LCH | lch(40.80, 66.54, 327.35°) |
| OKLab | oklab(51.37% 0.1557 -0.0993) |
| OKLCH | oklch(51.37% 0.185 327.5) |
| XYZ | xyz(20.7018, 11.7379, 32.6213) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.56
Medium Purple
#9E43A2
ΔE00 3.34
Ugly Purple
#A442A0
ΔE00 3.85
Barney Purple
#A00498
ΔE00 4.20
Purply
#983FB2
ΔE00 4.63
Barney
#AC1DB8
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B339C #349C33
analogous
#67339C #9B339C #9C3368
triadic
#9B339C #9C9B33 #339C9B
tetradic
#9B339C #9C6733 #349C33 #33689C
square
#9B339C #9C6733 #349C33 #33689C
split-complementary
#9B339C #689C33 #339C67
monochromatic
#3F1540 #6D246E #9B339C #C249C3 #D277D3
Accessibility & contrast
On white
6.27
#9B339C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#9B339C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B339C
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B339C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B339C | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23589F
Deuteranopia (green-blind)
#4C6599
Tritanopia (blue-blind)
#A04263
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9b339c; /* rgb */ color: rgb(155, 51, 156); /* oklch */ color: oklch(51.4% 0.185 327.5);
Tailwind
colors: {
custom: {
50: '#bc74b9',
500: '#9b339c',
950: '#000000',
},
}SCSS
$custom: #9b339c; $custom-light: #bc74b9; $custom-dark: #000000;
JSON
{
"hex": "#9b339c",
"rgb": {
"r": 155,
"g": 51,
"b": 156
},
"hsl": {
"h": 299.429,
"s": 50.725,
"l": 40.588
},
"oklch": {
"l": 0.51366,
"c": 0.1847,
"h": 327.5
},
"luminance": 0.11737
}Semantic roles & 50–950 ramp
primary
#9B339C
secondary
#71BB70
accent
#DA4E4F
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80