#9D309F#9D309F
#9D309F is a mid, vivid purple. Relative luminance 0.118; OKLCH L 51.5% C 0.192 H 327.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9D309F |
|---|---|
| RGB | rgb(157, 48, 159) |
| HSL | hsl(299, 54%, 41%) |
| HSV | hsv(299, 70%, 62%) |
| CMYK | cmyk(1.3%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(40.88, 58.17, -37.56) |
| CIE-LCH | lch(40.88, 69.24, 327.15°) |
| OKLab | oklab(51.54% 0.1613 -0.1041) |
| OKLCH | oklch(51.54% 0.192 327.2) |
| XYZ | xyz(21.2193, 11.7867, 33.9516) |
| Luminance | 0.1178 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.97
Medium Purple
#9E43A2
ΔE00 3.58
Barney Purple
#A00498
ΔE00 3.91
Ugly Purple
#A442A0
ΔE00 4.08
Barney
#AC1DB8
ΔE00 4.35
Purply
#983FB2
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D309F #329F30
analogous
#65309F #9D309F #9F3069
triadic
#9D309F #9F9D30 #309F9D
tetradic
#9D309F #9F6530 #329F30 #30699F
square
#9D309F #9F6530 #329F30 #30699F
split-complementary
#9D309F #699F30 #309F65
monochromatic
#401441 #6F2270 #9D309F #C545C7 #D374D5
Accessibility & contrast
On white
6.26
#9D309F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#9D309F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D309F
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D309F | 1.00 | 6.26 | 3.36 | 6.26 |
| #FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C57A2
Deuteranopia (green-blind)
#4B659C
Tritanopia (blue-blind)
#A24164
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #9d309f; /* rgb */ color: rgb(157, 48, 159); /* oklch */ color: oklch(51.5% 0.192 327.2);
Tailwind
colors: {
custom: {
50: '#bd72bc',
500: '#9d309f',
950: '#000000',
},
}SCSS
$custom: #9d309f; $custom-light: #bd72bc; $custom-dark: #000000;
JSON
{
"hex": "#9d309f",
"rgb": {
"r": 157,
"g": 48,
"b": 159
},
"hsl": {
"h": 298.919,
"s": 53.623,
"l": 40.588
},
"oklch": {
"l": 0.5154,
"c": 0.19195,
"h": 327.2
},
"luminance": 0.11785
}Semantic roles & 50–950 ramp
primary
#9D309F
secondary
#6FBD6E
accent
#DD4B4D
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120912
muted
#817B81