#9D319F#9D319F
#9D319F is a mid, vivid purple. Relative luminance 0.119; OKLCH L 51.6% C 0.191 H 327.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #9D319F |
|---|---|
| RGB | rgb(157, 49, 159) |
| HSL | hsl(299, 53%, 41%) |
| HSV | hsv(299, 69%, 62%) |
| CMYK | cmyk(1.3%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(41.01, 57.79, -37.35) |
| CIE-LCH | lch(41.01, 68.81, 327.13°) |
| OKLab | oklab(51.64% 0.1602 -0.1035) |
| OKLCH | oklch(51.64% 0.191 327.1) |
| XYZ | xyz(21.2606, 11.8694, 33.9654) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.00
Medium Purple
#9E43A2
ΔE00 3.42
Ugly Purple
#A442A0
ΔE00 3.93
Barney Purple
#A00498
ΔE00 4.06
Purply
#983FB2
ΔE00 4.37
Barney
#AC1DB8
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D319F #339F31
analogous
#66319F #9D319F #9F316A
triadic
#9D319F #9F9D31 #319F9D
tetradic
#9D319F #9F6631 #339F31 #316A9F
square
#9D319F #9F6631 #339F31 #316A9F
split-complementary
#9D319F #6A9F31 #319F66
monochromatic
#411441 #6F2370 #9D319F #C447C6 #D376D5
Accessibility & contrast
On white
6.22
#9D319F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#9D319F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9D319F
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D319F | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E58A2
Deuteranopia (green-blind)
#4B669C
Tritanopia (blue-blind)
#A24164
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9d319f; /* rgb */ color: rgb(157, 49, 159); /* oklch */ color: oklch(51.6% 0.191 327.1);
Tailwind
colors: {
custom: {
50: '#bd73bc',
500: '#9d319f',
950: '#000000',
},
}SCSS
$custom: #9d319f; $custom-light: #bd73bc; $custom-dark: #000000;
JSON
{
"hex": "#9d319f",
"rgb": {
"r": 157,
"g": 49,
"b": 159
},
"hsl": {
"h": 298.909,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.51635,
"c": 0.19074,
"h": 327.1
},
"luminance": 0.11868
}Semantic roles & 50–950 ramp
primary
#9D319F
secondary
#70BD6F
accent
#DC4C4E
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120912
muted
#817B81