#7F1973#7F1973
#7F1973 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.167 H 333.6°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1973 |
|---|---|
| RGB | rgb(127, 25, 115) |
| HSL | hsl(307, 67%, 30%) |
| HSV | hsv(307, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 9.4%, 50.2%) |
| CIE-LAB | lab(30.51, 51.70, -27.12) |
| CIE-LCH | lch(30.51, 58.38, 332.32°) |
| OKLab | oklab(42.32% 0.1498 -0.0744) |
| OKLCH | oklch(42.32% 0.167 333.6) |
| XYZ | xyz(12.1946, 6.4462, 16.8183) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Darkish Purple
#751973
ΔE00 2.27
Purple
#800080
ΔE00 3.54
Darkmagenta
#8B008B
ΔE00 4.66
Rich Purple
#720058
ΔE00 5.61
Warm Purple
#952E8F
ΔE00 6.71
Velvet
#750851
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1973 #197F25
analogous
#58197F #7F1973 #7F1940
triadic
#7F1973 #737F19 #19737F
tetradic
#7F1973 #7F5819 #197F25 #19407F
square
#7F1973 #7F5819 #197F25 #19407F
split-complementary
#7F1973 #407F19 #197F58
monochromatic
#1A0517 #4C0F45 #7F1973 #B223A1 #D83AC6
Accessibility & contrast
On white
9.17
#7F1973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7F1973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1973
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1973 | 1.00 | 9.17 | 2.29 | 9.17 |
| #FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#153F75
Deuteranopia (green-blind)
#3D4D71
Tritanopia (blue-blind)
#852445
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f1973; /* rgb */ color: rgb(127, 25, 115); /* oklch */ color: oklch(42.3% 0.167 333.6);
Tailwind
colors: {
custom: {
50: '#a8639b',
500: '#7f1973',
950: '#000000',
},
}SCSS
$custom: #7f1973; $custom-light: #a8639b; $custom-dark: #000000;
JSON
{
"hex": "#7f1973",
"rgb": {
"r": 127,
"g": 25,
"b": 115
},
"hsl": {
"h": 307.059,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.42319,
"c": 0.16726,
"h": 333.6
},
"luminance": 0.06445
}Semantic roles & 50–950 ramp
primary
#7F1973
secondary
#41B34E
accent
#EA523E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E