#9C339F#9C339F
#9C339F is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.7% C 0.188 H 326.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #9C339F |
|---|---|
| RGB | rgb(156, 51, 159) |
| HSL | hsl(298, 51%, 41%) |
| HSV | hsv(298, 68%, 62%) |
| CMYK | cmyk(1.9%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(41.12, 56.79, -37.18) |
| CIE-LCH | lch(41.12, 67.88, 326.78°) |
| OKLab | oklab(51.69% 0.1569 -0.103) |
| OKLCH | oklch(51.69% 0.188 326.7) |
| XYZ | xyz(21.1518, 11.9402, 33.9848) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.06
Medium Purple
#9E43A2
ΔE00 3.19
Ugly Purple
#A442A0
ΔE00 3.78
Purply
#983FB2
ΔE00 4.18
Barney Purple
#A00498
ΔE00 4.33
Barney
#AC1DB8
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C339F #369F33
analogous
#66339F #9C339F #9F336C
triadic
#9C339F #9F9C33 #339F9C
tetradic
#9C339F #9F6633 #369F33 #336C9F
square
#9C339F #9F6633 #369F33 #336C9F
split-complementary
#9C339F #6C9F33 #339F66
monochromatic
#411542 #6F2471 #9C339F #C24AC5 #D179D4
Accessibility & contrast
On white
6.20
#9C339F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#9C339F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C339F
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C339F | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2058A2
Deuteranopia (green-blind)
#4C669C
Tritanopia (blue-blind)
#A04365
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9c339f; /* rgb */ color: rgb(156, 51, 159); /* oklch */ color: oklch(51.7% 0.188 326.7);
Tailwind
colors: {
custom: {
50: '#bc74bc',
500: '#9c339f',
950: '#000000',
},
}SCSS
$custom: #9c339f; $custom-light: #bc74bc; $custom-dark: #000000;
JSON
{
"hex": "#9c339f",
"rgb": {
"r": 156,
"g": 51,
"b": 159
},
"hsl": {
"h": 298.333,
"s": 51.429,
"l": 41.176
},
"oklch": {
"l": 0.51685,
"c": 0.18773,
"h": 326.7
},
"luminance": 0.11939
}Semantic roles & 50–950 ramp
primary
#9C339F
secondary
#74BC71
accent
#DB4D51
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120912
muted
#817B81