#9C309F#9C309F
#9C309F is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.4% C 0.191 H 326.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9C309F |
|---|---|
| RGB | rgb(156, 48, 159) |
| HSL | hsl(298, 54%, 41%) |
| HSV | hsv(298, 70%, 62%) |
| CMYK | cmyk(1.9%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(40.71, 57.94, -37.83) |
| CIE-LCH | lch(40.71, 69.19, 326.86°) |
| OKLab | oklab(51.39% 0.1602 -0.1049) |
| OKLCH | oklch(51.39% 0.191 326.8) |
| XYZ | xyz(21.0249, 11.6864, 33.9425) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.93
Medium Purple
#9E43A2
ΔE00 3.67
Barney Purple
#A00498
ΔE00 3.89
Ugly Purple
#A442A0
ΔE00 4.23
Purply
#983FB2
ΔE00 4.38
Barney
#AC1DB8
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C309F #339F30
analogous
#64309F #9C309F #9F306B
triadic
#9C309F #9F9C30 #309F9C
tetradic
#9C309F #9F6430 #339F30 #306B9F
square
#9C309F #9F6430 #339F30 #306B9F
split-complementary
#9C309F #6B9F30 #309F64
monochromatic
#401441 #6E2270 #9C309F #C345C7 #D374D5
Accessibility & contrast
On white
6.29
#9C309F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#9C309F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C309F
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C309F | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B57A2
Deuteranopia (green-blind)
#4A659C
Tritanopia (blue-blind)
#A04164
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9c309f; /* rgb */ color: rgb(156, 48, 159); /* oklch */ color: oklch(51.4% 0.191 326.8);
Tailwind
colors: {
custom: {
50: '#bd72bc',
500: '#9c309f',
950: '#000000',
},
}SCSS
$custom: #9c309f; $custom-light: #bd72bc; $custom-dark: #000000;
JSON
{
"hex": "#9c309f",
"rgb": {
"r": 156,
"g": 48,
"b": 159
},
"hsl": {
"h": 298.378,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.51392,
"c": 0.19144,
"h": 326.8
},
"luminance": 0.11685
}Semantic roles & 50–950 ramp
primary
#9C309F
secondary
#70BD6E
accent
#DD4B4F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120912
muted
#817B81