#7F196F#7F196F
#7F196F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.164 H 335.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7F196F |
|---|---|
| RGB | rgb(127, 25, 111) |
| HSL | hsl(309, 67%, 30%) |
| HSV | hsv(309, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 12.6%, 50.2%) |
| CIE-LAB | lab(30.29, 51.08, -24.91) |
| CIE-LCH | lch(30.29, 56.83, 334.00°) |
| OKLab | oklab(42.09% 0.1496 -0.0681) |
| OKLCH | oklch(42.09% 0.164 335.5) |
| XYZ | xyz(11.9695, 6.3561, 15.6323) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.84
Purple
#800080
ΔE00 4.35
Rich Purple
#720058
ΔE00 4.97
Darkmagenta
#8B008B
ΔE00 5.46
Velvet
#750851
ΔE00 6.33
Grape
#6C3461
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F196F #197F29
analogous
#5C197F #7F196F #7F193C
triadic
#7F196F #6F7F19 #196F7F
tetradic
#7F196F #7F5C19 #197F29 #193C7F
square
#7F196F #7F5C19 #197F29 #193C7F
split-complementary
#7F196F #3C7F19 #197F5C
monochromatic
#1A0516 #4C0F42 #7F196F #B2239C #D83ABF
Accessibility & contrast
On white
9.25
#7F196F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#7F196F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F196F
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F196F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F196F | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#193E71
Deuteranopia (green-blind)
#3F4D6D
Tritanopia (blue-blind)
#862243
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f196f; /* rgb */ color: rgb(127, 25, 111); /* oklch */ color: oklch(42.1% 0.164 335.5);
Tailwind
colors: {
custom: {
50: '#a86398',
500: '#7f196f',
950: '#000000',
},
}SCSS
$custom: #7f196f; $custom-light: #a86398; $custom-dark: #000000;
JSON
{
"hex": "#7f196f",
"rgb": {
"r": 127,
"g": 25,
"b": 111
},
"hsl": {
"h": 309.412,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.42093,
"c": 0.16432,
"h": 335.5
},
"luminance": 0.06355
}Semantic roles & 50–950 ramp
primary
#7F196F
secondary
#41B353
accent
#EA593E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E