#7F367D#7F367D
#7F367D is a mid, vivid purple. Relative luminance 0.086; OKLCH L 45.9% C 0.137 H 328.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7F367D |
|---|---|
| RGB | rgb(127, 54, 125) |
| HSL | hsl(302, 40%, 35%) |
| HSV | hsv(302, 57%, 50%) |
| CMYK | cmyk(0%, 57.5%, 1.6%, 50.2%) |
| CIE-LAB | lab(35.27, 41.65, -25.94) |
| CIE-LCH | lch(35.27, 49.07, 328.09°) |
| OKLab | oklab(45.94% 0.1167 -0.0713) |
| OKLCH | oklch(45.94% 0.137 328.6) |
| XYZ | xyz(13.7731, 8.6319, 20.3387) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 4.28
Bruise
#7E4071
ΔE00 4.70
Warm Purple
#952E8F
ΔE00 4.80
Darkish Purple
#751973
ΔE00 5.82
Grape
#6C3461
ΔE00 6.47
Darkmagenta
#8B008B
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F367D #367F38
analogous
#5C367F #7F367D #7F3658
triadic
#7F367D #7D7F36 #367D7F
tetradic
#7F367D #7F5C36 #367F38 #36587F
square
#7F367D #7F5C36 #367F38 #36587F
split-complementary
#7F367D #587F36 #367F5C
monochromatic
#291128 #542453 #7F367D #AA48A7 #C16EBF
Accessibility & contrast
On white
7.70
#7F367D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#7F367D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F367D
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F367D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F367D | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304D7F
Deuteranopia (green-blind)
#47567B
Tritanopia (blue-blind)
#833E54
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #7f367d; /* rgb */ color: rgb(127, 54, 125); /* oklch */ color: oklch(45.9% 0.137 328.6);
Tailwind
colors: {
custom: {
50: '#a671a3',
500: '#7f367d',
950: '#000000',
},
}SCSS
$custom: #7f367d; $custom-light: #a671a3; $custom-dark: #000000;
JSON
{
"hex": "#7f367d",
"rgb": {
"r": 127,
"g": 54,
"b": 125
},
"hsl": {
"h": 301.644,
"s": 40.331,
"l": 35.49
},
"oklch": {
"l": 0.45938,
"c": 0.13672,
"h": 328.6
},
"luminance": 0.08631
}Semantic roles & 50–950 ramp
primary
#7F367D
secondary
#67AA69
accent
#D05B58
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#10080F
muted
#7F7B7F