#9F1D9F#9F1D9F
#9F1D9F is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.4% C 0.212 H 328.2°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1D9F |
|---|---|
| RGB | rgb(159, 29, 159) |
| HSL | hsl(300, 69%, 37%) |
| HSV | hsv(300, 82%, 62%) |
| CMYK | cmyk(0%, 81.8%, 0%, 37.6%) |
| CIE-LAB | lab(39.16, 64.47, -40.26) |
| CIE-LCH | lch(39.16, 76.01, 328.02°) |
| OKLab | oklab(50.38% 0.18 -0.1117) |
| OKLCH | oklch(50.38% 0.212 328.2) |
| XYZ | xyz(20.9952, 10.7545, 33.7642) |
| Luminance | 0.1075 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney Purple
#A00498
ΔE00 1.92
Warm Purple
#952E8F
ΔE00 3.35
Barney
#AC1DB8
ΔE00 4.31
Darkmagenta
#8B008B
ΔE00 5.49
Medium Purple
#9E43A2
ΔE00 5.77
Purply
#983FB2
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1D9F #1D9F1D
analogous
#5E1D9F #9F1D9F #9F1D5E
triadic
#9F1D9F #9F9F1D #1D9F9F
tetradic
#9F1D9F #9F5E1D #1D9F1D #1D5E9F
square
#9F1D9F #9F5E1D #1D9F1D #1D5E9F
split-complementary
#9F1D9F #5E9F1D #1D9F5E
monochromatic
#370A37 #6B146B #9F1D9F #D326D3 #E056E0
Accessibility & contrast
On white
6.67
#9F1D9F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#9F1D9F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F1D9F
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1D9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1D9F | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#45629C
Tritanopia (blue-blind)
#A4355F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #9f1d9f; /* rgb */ color: rgb(159, 29, 159); /* oklch */ color: oklch(50.4% 0.212 328.2);
Tailwind
colors: {
custom: {
50: '#bf6bbc',
500: '#9f1d9f',
950: '#000000',
},
}SCSS
$custom: #9f1d9f; $custom-light: #bf6bbc; $custom-dark: #000000;
JSON
{
"hex": "#9f1d9f",
"rgb": {
"r": 159,
"g": 29,
"b": 159
},
"hsl": {
"h": 300,
"s": 69.149,
"l": 36.863
},
"oklch": {
"l": 0.50383,
"c": 0.2119,
"h": 328.2
},
"luminance": 0.10753
}Semantic roles & 50–950 ramp
primary
#9F1D9F
secondary
#54C454
accent
#EC3C3C
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130812
muted
#827A81