#9B339F#9B339F
#9B339F is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.187 H 326.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #9B339F |
|---|---|
| RGB | rgb(155, 51, 159) |
| HSL | hsl(298, 51%, 41%) |
| HSV | hsv(298, 68%, 62%) |
| CMYK | cmyk(2.5%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(40.96, 56.55, -37.44) |
| CIE-LCH | lch(40.96, 67.82, 326.49°) |
| OKLab | oklab(51.54% 0.1558 -0.1038) |
| OKLCH | oklch(51.54% 0.187 326.3) |
| XYZ | xyz(20.9590, 11.8408, 33.9757) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.02
Medium Purple
#9E43A2
ΔE00 3.29
Ugly Purple
#A442A0
ΔE00 3.94
Purply
#983FB2
ΔE00 4.12
Barney Purple
#A00498
ΔE00 4.31
Barney
#AC1DB8
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B339F #379F33
analogous
#65339F #9B339F #9F336D
triadic
#9B339F #9F9B33 #339F9B
tetradic
#9B339F #9F6533 #379F33 #336D9F
square
#9B339F #9F6533 #379F33 #336D9F
split-complementary
#9B339F #6D9F33 #339F65
monochromatic
#411542 #6E2471 #9B339F #C04AC5 #D079D4
Accessibility & contrast
On white
6.24
#9B339F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#9B339F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B339F
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B339F | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F58A2
Deuteranopia (green-blind)
#4B659C
Tritanopia (blue-blind)
#9F4365
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9b339f; /* rgb */ color: rgb(155, 51, 159); /* oklch */ color: oklch(51.5% 0.187 326.3);
Tailwind
colors: {
custom: {
50: '#bc74bc',
500: '#9b339f',
950: '#000000',
},
}SCSS
$custom: #9b339f; $custom-light: #bc74bc; $custom-dark: #000000;
JSON
{
"hex": "#9b339f",
"rgb": {
"r": 155,
"g": 51,
"b": 159
},
"hsl": {
"h": 297.778,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.51539,
"c": 0.18722,
"h": 326.3
},
"luminance": 0.11839
}Semantic roles & 50–950 ramp
primary
#9B339F
secondary
#74BC71
accent
#DB4D52
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120912
muted
#817B81