#7F116F#7F116F
#7F116F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.171 H 335.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7F116F |
|---|---|
| RGB | rgb(127, 17, 111) |
| HSL | hsl(309, 76%, 28%) |
| HSV | hsv(309, 87%, 50%) |
| CMYK | cmyk(0%, 86.6%, 12.6%, 50.2%) |
| CIE-LAB | lab(29.57, 53.18, -26.05) |
| CIE-LCH | lch(29.57, 59.21, 333.90°) |
| OKLab | oklab(41.57% 0.1558 -0.0713) |
| OKLCH | oklch(41.57% 0.171 335.4) |
| XYZ | xyz(11.8223, 6.0617, 15.5832) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.63
Purple
#800080
ΔE00 3.85
Rich Purple
#720058
ΔE00 4.71
Darkmagenta
#8B008B
ΔE00 5.19
Velvet
#750851
ΔE00 6.33
Grape Purple
#5D1451
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F116F #117F21
analogous
#58117F #7F116F #7F1138
triadic
#7F116F #6F7F11 #116F7F
tetradic
#7F116F #7F5811 #117F21 #11387F
square
#7F116F #7F5811 #117F21 #11387F
split-complementary
#7F116F #387F11 #117F58
monochromatic
#1B0418 #490A40 #7F116F #B5189E #E228C7
Accessibility & contrast
On white
9.49
#7F116F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F116F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F116F
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F116F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F116F | 1.00 | 9.49 | 2.21 | 9.49 |
| #FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#113C71
Deuteranopia (green-blind)
#3D4B6D
Tritanopia (blue-blind)
#861D41
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f116f; /* rgb */ color: rgb(127, 17, 111); /* oklch */ color: oklch(41.6% 0.171 335.4);
Tailwind
colors: {
custom: {
50: '#a86098',
500: '#7f116f',
950: '#000000',
},
}SCSS
$custom: #7f116f; $custom-light: #a86098; $custom-dark: #000000;
JSON
{
"hex": "#7f116f",
"rgb": {
"r": 127,
"g": 17,
"b": 111
},
"hsl": {
"h": 308.727,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.41573,
"c": 0.17134,
"h": 335.4
},
"luminance": 0.06061
}Semantic roles & 50–950 ramp
primary
#7F116F
secondary
#37B549
accent
#F35035
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E