#7F146F#7F146F
#7F146F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.169 H 335.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7F146F |
|---|---|
| RGB | rgb(127, 20, 111) |
| HSL | hsl(309, 73%, 29%) |
| HSV | hsv(309, 84%, 50%) |
| CMYK | cmyk(0%, 84.3%, 12.6%, 50.2%) |
| CIE-LAB | lab(29.82, 52.46, -25.66) |
| CIE-LCH | lch(29.82, 58.40, 333.93°) |
| OKLab | oklab(41.75% 0.1537 -0.0702) |
| OKLCH | oklch(41.75% 0.169 335.4) |
| XYZ | xyz(11.8720, 6.1612, 15.5998) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.67
Purple
#800080
ΔE00 4.00
Rich Purple
#720058
ΔE00 4.78
Darkmagenta
#8B008B
ΔE00 5.26
Velvet
#750851
ΔE00 6.32
Warm Purple
#952E8F
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F146F #147F24
analogous
#5A147F #7F146F #7F143A
triadic
#7F146F #6F7F14 #146F7F
tetradic
#7F146F #7F5A14 #147F24 #143A7F
square
#7F146F #7F5A14 #147F24 #143A7F
split-complementary
#7F146F #3A7F14 #147F5A
monochromatic
#1A0417 #4A0C41 #7F146F #B41C9D #DE2FC4
Accessibility & contrast
On white
9.41
#7F146F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7F146F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F146F
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F146F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F146F | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#143C71
Deuteranopia (green-blind)
#3E4C6D
Tritanopia (blue-blind)
#861E42
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f146f; /* rgb */ color: rgb(127, 20, 111); /* oklch */ color: oklch(41.8% 0.169 335.4);
Tailwind
colors: {
custom: {
50: '#a86198',
500: '#7f146f',
950: '#000000',
},
}SCSS
$custom: #7f146f; $custom-light: #a86198; $custom-dark: #000000;
JSON
{
"hex": "#7f146f",
"rgb": {
"r": 127,
"g": 20,
"b": 111
},
"hsl": {
"h": 308.972,
"s": 72.789,
"l": 28.824
},
"oklch": {
"l": 0.4175,
"c": 0.16894,
"h": 335.4
},
"luminance": 0.0616
}Semantic roles & 50–950 ramp
primary
#7F146F
secondary
#3BB44D
accent
#EF5438
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E