#9F1E8F#9F1E8F
#9F1E8F is a mid, vivid purple. Relative luminance 0.103; OKLCH L 49.5% C 0.200 H 334.0°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1E8F |
|---|---|
| RGB | rgb(159, 30, 143) |
| HSL | hsl(307, 68%, 37%) |
| HSV | hsv(307, 81%, 62%) |
| CMYK | cmyk(0%, 81.1%, 10.1%, 37.6%) |
| CIE-LAB | lab(38.35, 61.74, -31.83) |
| CIE-LCH | lch(38.35, 69.47, 332.72°) |
| OKLab | oklab(49.51% 0.1794 -0.0873) |
| OKLCH | oklch(49.51% 0.2 334) |
| XYZ | xyz(19.7205, 10.2844, 26.9278) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.27
Barney Purple
#A00498
ΔE00 2.45
Darkmagenta
#8B008B
ΔE00 5.40
Ugly Purple
#A442A0
ΔE00 6.38
Medium Purple
#9E43A2
ΔE00 6.48
Barney
#AC1DB8
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1E8F #1E9F2E
analogous
#6F1E9F #9F1E8F #9F1E4F
triadic
#9F1E8F #8F9F1E #1E8F9F
tetradic
#9F1E8F #9F6F1E #1E9F2E #1E4F9F
square
#9F1E8F #9F6F1E #1E9F2E #1E4F9F
split-complementary
#9F1E8F #4F9F1E #1E9F6F
monochromatic
#380B32 #6C1461 #9F1E8F #D228BD #DF58CF
Accessibility & contrast
On white
6.87
#9F1E8F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#9F1E8F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9F1E8F
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1E8F | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A4E92
Deuteranopia (green-blind)
#4E618C
Tritanopia (blue-blind)
#A72C56
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #9f1e8f; /* rgb */ color: rgb(159, 30, 143); /* oklch */ color: oklch(49.5% 0.200 334.0);
Tailwind
colors: {
custom: {
50: '#bf6bb0',
500: '#9f1e8f',
950: '#000000',
},
}SCSS
$custom: #9f1e8f; $custom-light: #bf6bb0; $custom-dark: #000000;
JSON
{
"hex": "#9f1e8f",
"rgb": {
"r": 159,
"g": 30,
"b": 143
},
"hsl": {
"h": 307.442,
"s": 68.254,
"l": 37.059
},
"oklch": {
"l": 0.49511,
"c": 0.19956,
"h": 334
},
"luminance": 0.10283
}Semantic roles & 50–950 ramp
primary
#9F1E8F
secondary
#56C363
accent
#EB523D
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F