#9F319F#9F319F
#9F319F is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.192 H 327.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #9F319F |
|---|---|
| RGB | rgb(159, 49, 159) |
| HSL | hsl(300, 53%, 41%) |
| HSV | hsv(300, 69%, 62%) |
| CMYK | cmyk(0%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(41.33, 58.26, -36.82) |
| CIE-LCH | lch(41.33, 68.92, 327.71°) |
| OKLab | oklab(51.93% 0.1625 -0.1019) |
| OKLCH | oklch(51.93% 0.192 327.9) |
| XYZ | xyz(21.6541, 12.0723, 33.9838) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.13
Medium Purple
#9E43A2
ΔE00 3.27
Ugly Purple
#A442A0
ΔE00 3.64
Barney Purple
#A00498
ΔE00 4.15
Barney
#AC1DB8
ΔE00 4.35
Purply
#983FB2
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F319F #319F31
analogous
#68319F #9F319F #9F3168
triadic
#9F319F #9F9F31 #319F9F
tetradic
#9F319F #9F6831 #319F31 #31689F
square
#9F319F #9F6831 #319F31 #31689F
split-complementary
#9F319F #689F31 #319F68
monochromatic
#411441 #702370 #9F319F #C647C6 #D576D5
Accessibility & contrast
On white
6.15
#9F319F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#9F319F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F319F
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F319F | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2058A2
Deuteranopia (green-blind)
#4D669C
Tritanopia (blue-blind)
#A44164
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #9f319f; /* rgb */ color: rgb(159, 49, 159); /* oklch */ color: oklch(51.9% 0.192 327.9);
Tailwind
colors: {
custom: {
50: '#bf73bc',
500: '#9f319f',
950: '#000000',
},
}SCSS
$custom: #9f319f; $custom-light: #bf73bc; $custom-dark: #000000;
JSON
{
"hex": "#9f319f",
"rgb": {
"r": 159,
"g": 49,
"b": 159
},
"hsl": {
"h": 300,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.51931,
"c": 0.19176,
"h": 327.9
},
"luminance": 0.12071
}Semantic roles & 50–950 ramp
primary
#9F319F
secondary
#6FBD6F
accent
#DC4C4C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130912
muted
#827B81