#9C339A#9C339A
#9C339A is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.4% C 0.184 H 328.6°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9C339A |
|---|---|
| RGB | rgb(156, 51, 154) |
| HSL | hsl(301, 51%, 41%) |
| HSV | hsv(301, 67%, 61%) |
| CMYK | cmyk(0%, 67.3%, 1.3%, 38.8%) |
| CIE-LAB | lab(40.85, 55.92, -34.60) |
| CIE-LCH | lch(40.85, 65.76, 328.25°) |
| OKLab | oklab(51.4% 0.1568 -0.0956) |
| OKLCH | oklch(51.4% 0.184 328.6) |
| XYZ | xyz(20.7266, 11.7701, 31.7458) |
| Luminance | 0.1177 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.35
Medium Purple
#9E43A2
ΔE00 3.35
Ugly Purple
#A442A0
ΔE00 3.69
Barney Purple
#A00498
ΔE00 4.20
Purply
#983FB2
ΔE00 5.05
Barney
#AC1DB8
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C339A #339C35
analogous
#69339C #9C339A #9C3365
triadic
#9C339A #9A9C33 #339A9C
tetradic
#9C339A #9C6933 #339C35 #33659C
square
#9C339A #9C6933 #339C35 #33659C
split-complementary
#9C339A #659C33 #339C69
monochromatic
#40153F #6E246C #9C339A #C349C1 #D377D1
Accessibility & contrast
On white
6.26
#9C339A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#9C339A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C339A
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C339A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C339A | 1.00 | 6.26 | 3.35 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#26579D
Deuteranopia (green-blind)
#4E6597
Tritanopia (blue-blind)
#A14162
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9c339a; /* rgb */ color: rgb(156, 51, 154); /* oklch */ color: oklch(51.4% 0.184 328.6);
Tailwind
colors: {
custom: {
50: '#bc74b8',
500: '#9c339a',
950: '#000000',
},
}SCSS
$custom: #9c339a; $custom-light: #bc74b8; $custom-dark: #000000;
JSON
{
"hex": "#9c339a",
"rgb": {
"r": 156,
"g": 51,
"b": 154
},
"hsl": {
"h": 301.143,
"s": 50.725,
"l": 40.588
},
"oklch": {
"l": 0.514,
"c": 0.18358,
"h": 328.6
},
"luminance": 0.11769
}Semantic roles & 50–950 ramp
primary
#9C339A
secondary
#70BB71
accent
#DA504E
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120911
muted
#817B80