#9F1FA0#9F1FA0
#9F1FA0 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.211 H 327.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1FA0 |
|---|---|
| RGB | rgb(159, 31, 160) |
| HSL | hsl(300, 68%, 37%) |
| HSV | hsv(300, 81%, 63%) |
| CMYK | cmyk(0.6%, 80.6%, 0%, 37.3%) |
| CIE-LAB | lab(39.40, 64.13, -40.50) |
| CIE-LCH | lch(39.40, 75.85, 327.73°) |
| OKLab | oklab(50.57% 0.1786 -0.1124) |
| OKLCH | oklch(50.57% 0.211 327.8) |
| XYZ | xyz(21.1330, 10.8905, 34.2399) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.18
Warm Purple
#952E8F
ΔE00 3.40
Barney
#AC1DB8
ΔE00 4.12
Medium Purple
#9E43A2
ΔE00 5.57
Purply
#983FB2
ΔE00 5.63
Darkmagenta
#8B008B
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1FA0 #20A01F
analogous
#5F1FA0 #9F1FA0 #A01F60
triadic
#9F1FA0 #A09F1F #1FA09F
tetradic
#9F1FA0 #A05F1F #20A01F #1F60A0
square
#9F1FA0 #A05F1F #20A01F #1F60A0
split-complementary
#9F1FA0 #60A01F #1FA05F
monochromatic
#390B39 #6C156D #9F1FA0 #D229D3 #DE5ADF
Accessibility & contrast
On white
6.61
#9F1FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#9F1FA0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F1FA0
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1FA0 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#45629D
Tritanopia (blue-blind)
#A43660
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9f1fa0; /* rgb */ color: rgb(159, 31, 160); /* oklch */ color: oklch(50.6% 0.211 327.8);
Tailwind
colors: {
custom: {
50: '#bf6cbd',
500: '#9f1fa0',
950: '#000000',
},
}SCSS
$custom: #9f1fa0; $custom-light: #bf6cbd; $custom-dark: #000000;
JSON
{
"hex": "#9f1fa0",
"rgb": {
"r": 159,
"g": 31,
"b": 160
},
"hsl": {
"h": 299.535,
"s": 67.539,
"l": 37.451
},
"oklch": {
"l": 0.50566,
"c": 0.21103,
"h": 327.8
},
"luminance": 0.10889
}Semantic roles & 50–950 ramp
primary
#9F1FA0
secondary
#59C358
accent
#EA3D3F
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130812
muted
#827B81