#7F367F#7F367F
#7F367F is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.0% C 0.139 H 327.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7F367F |
|---|---|
| RGB | rgb(127, 54, 127) |
| HSL | hsl(300, 40%, 35%) |
| HSV | hsv(300, 57%, 50%) |
| CMYK | cmyk(0%, 57.5%, 0%, 50.2%) |
| CIE-LAB | lab(35.37, 42.03, -27.02) |
| CIE-LCH | lch(35.37, 49.97, 327.26°) |
| OKLab | oklab(46.05% 0.1169 -0.0744) |
| OKLCH | oklch(46.05% 0.139 327.5) |
| XYZ | xyz(13.9021, 8.6835, 21.0184) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 4.33
Warm Purple
#952E8F
ΔE00 4.61
Bruise
#7E4071
ΔE00 5.10
Darkish Purple
#751973
ΔE00 5.81
Darkmagenta
#8B008B
ΔE00 6.65
Grape
#6C3461
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F367F #367F36
analogous
#5A367F #7F367F #7F365A
triadic
#7F367F #7F7F36 #367F7F
tetradic
#7F367F #7F5A36 #367F36 #365A7F
square
#7F367F #7F5A36 #367F36 #365A7F
split-complementary
#7F367F #5A7F36 #367F5A
monochromatic
#291129 #542454 #7F367F #AA48AA #C16EC1
Accessibility & contrast
On white
7.67
#7F367F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#7F367F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F367F
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F367F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F367F | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E4D81
Deuteranopia (green-blind)
#46577D
Tritanopia (blue-blind)
#833F55
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #7f367f; /* rgb */ color: rgb(127, 54, 127); /* oklch */ color: oklch(46.0% 0.139 327.5);
Tailwind
colors: {
custom: {
50: '#a671a4',
500: '#7f367f',
950: '#000000',
},
}SCSS
$custom: #7f367f; $custom-light: #a671a4; $custom-dark: #000000;
JSON
{
"hex": "#7f367f",
"rgb": {
"r": 127,
"g": 54,
"b": 127
},
"hsl": {
"h": 300,
"s": 40.331,
"l": 35.49
},
"oklch": {
"l": 0.46046,
"c": 0.13859,
"h": 327.5
},
"luminance": 0.08683
}Semantic roles & 50–950 ramp
primary
#7F367F
secondary
#67AA67
accent
#D05858
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#10080F
muted
#7F7B7F