#7F367E#7F367E
#7F367E is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.0% C 0.138 H 328.1°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7F367E |
|---|---|
| RGB | rgb(127, 54, 126) |
| HSL | hsl(301, 40%, 35%) |
| HSV | hsv(301, 57%, 50%) |
| CMYK | cmyk(0%, 57.5%, 0.8%, 50.2%) |
| CIE-LAB | lab(35.32, 41.84, -26.48) |
| CIE-LCH | lch(35.32, 49.52, 327.67°) |
| OKLab | oklab(45.99% 0.1168 -0.0728) |
| OKLCH | oklch(45.99% 0.138 328.1) |
| XYZ | xyz(13.8373, 8.6576, 20.6769) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 4.30
Warm Purple
#952E8F
ΔE00 4.70
Bruise
#7E4071
ΔE00 4.90
Darkish Purple
#751973
ΔE00 5.81
Grape
#6C3461
ΔE00 6.66
Darkmagenta
#8B008B
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F367E #367F37
analogous
#5B367F #7F367E #7F3659
triadic
#7F367E #7E7F36 #367E7F
tetradic
#7F367E #7F5B36 #367F37 #36597F
square
#7F367E #7F5B36 #367F37 #36597F
split-complementary
#7F367E #597F36 #367F5B
monochromatic
#291129 #542453 #7F367E #AA48A9 #C16EC0
Accessibility & contrast
On white
7.69
#7F367E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#7F367E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F367E
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F367E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F367E | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#47567C
Tritanopia (blue-blind)
#833E55
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #7f367e; /* rgb */ color: rgb(127, 54, 126); /* oklch */ color: oklch(46.0% 0.138 328.1);
Tailwind
colors: {
custom: {
50: '#a671a3',
500: '#7f367e',
950: '#000000',
},
}SCSS
$custom: #7f367e; $custom-light: #a671a3; $custom-dark: #000000;
JSON
{
"hex": "#7f367e",
"rgb": {
"r": 127,
"g": 54,
"b": 126
},
"hsl": {
"h": 300.822,
"s": 40.331,
"l": 35.49
},
"oklch": {
"l": 0.45992,
"c": 0.13765,
"h": 328.1
},
"luminance": 0.08657
}Semantic roles & 50–950 ramp
primary
#7F367E
secondary
#67AA68
accent
#D05958
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#10080F
muted
#7F7B7F