#9F1FA1#9F1FA1
#9F1FA1 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.6% C 0.212 H 327.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1FA1 |
|---|---|
| RGB | rgb(159, 31, 161) |
| HSL | hsl(299, 68%, 38%) |
| HSV | hsv(299, 81%, 63%) |
| CMYK | cmyk(1.2%, 80.7%, 0%, 36.9%) |
| CIE-LAB | lab(39.45, 64.30, -41.00) |
| CIE-LCH | lch(39.45, 76.26, 327.47°) |
| OKLab | oklab(50.63% 0.1785 -0.1139) |
| OKLCH | oklch(50.63% 0.212 327.5) |
| XYZ | xyz(21.2208, 10.9257, 34.7025) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 2.30
Warm Purple
#952E8F
ΔE00 3.54
Barney
#AC1DB8
ΔE00 3.98
Purply
#983FB2
ΔE00 5.52
Medium Purple
#9E43A2
ΔE00 5.57
Darkmagenta
#8B008B
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1FA1 #21A11F
analogous
#5E1FA1 #9F1FA1 #A11F62
triadic
#9F1FA1 #A19F1F #1FA19F
tetradic
#9F1FA1 #A15E1F #21A11F #1F62A1
square
#9F1FA1 #A15E1F #21A11F #1F62A1
split-complementary
#9F1FA1 #62A11F #1FA15E
monochromatic
#3A0B3A #6C156E #9F1FA1 #D229D4 #DD5BDF
Accessibility & contrast
On white
6.59
#9F1FA1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#9F1FA1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F1FA1
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1FA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1FA1 | 1.00 | 6.59 | 3.18 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#44629E
Tritanopia (blue-blind)
#A43761
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #9f1fa1; /* rgb */ color: rgb(159, 31, 161); /* oklch */ color: oklch(50.6% 0.212 327.5);
Tailwind
colors: {
custom: {
50: '#bf6cbd',
500: '#9f1fa1',
950: '#000000',
},
}SCSS
$custom: #9f1fa1; $custom-light: #bf6cbd; $custom-dark: #000000;
JSON
{
"hex": "#9f1fa1",
"rgb": {
"r": 159,
"g": 31,
"b": 161
},
"hsl": {
"h": 299.077,
"s": 67.708,
"l": 37.647
},
"oklch": {
"l": 0.50628,
"c": 0.21177,
"h": 327.5
},
"luminance": 0.10924
}Semantic roles & 50–950 ramp
primary
#9F1FA1
secondary
#5AC458
accent
#EB3D40
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81