#7F4792#7F4792
#7F4792 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 49.6% C 0.130 H 317.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4792 |
|---|---|
| RGB | rgb(127, 71, 146) |
| HSL | hsl(285, 35%, 43%) |
| HSV | hsv(285, 51%, 57%) |
| CMYK | cmyk(13%, 51.4%, 0%, 42.7%) |
| CIE-LAB | lab(39.74, 36.93, -31.80) |
| CIE-LCH | lch(39.74, 48.73, 319.27°) |
| OKLab | oklab(49.59% 0.0947 -0.0883) |
| OKLCH | oklch(49.59% 0.13 317) |
| XYZ | xyz(16.1932, 11.0944, 28.4770) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 4.52
Royal Purple
#7851A9
ΔE00 5.94
Medium Purple
#9E43A2
ΔE00 6.30
Warm Purple
#952E8F
ΔE00 6.57
Purply
#983FB2
ΔE00 6.78
Ugly Purple
#A442A0
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4792 #5A9247
analogous
#5A4792 #7F4792 #92477F
triadic
#7F4792 #927F47 #47927F
tetradic
#7F4792 #925A47 #5A9247 #477F92
square
#7F4792 #925A47 #5A9247 #477F92
split-complementary
#7F4792 #7F9247 #47925A
monochromatic
#371F40 #5B3369 #7F4792 #9F63B3 #B88CC7
Accessibility & contrast
On white
6.52
#7F4792 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#7F4792 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4792
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4792 | 1.00 | 6.52 | 3.22 | 6.52 |
| #FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385A95
Deuteranopia (green-blind)
#495F90
Tritanopia (blue-blind)
#7E5266
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7f4792; /* rgb */ color: rgb(127, 71, 146); /* oklch */ color: oklch(49.6% 0.130 317.0);
Tailwind
colors: {
custom: {
50: '#a67cb2',
500: '#7f4792',
950: '#000000',
},
}SCSS
$custom: #7f4792; $custom-light: #a67cb2; $custom-dark: #000000;
JSON
{
"hex": "#7f4792",
"rgb": {
"r": 127,
"g": 71,
"b": 146
},
"hsl": {
"h": 284.8,
"s": 34.562,
"l": 42.549
},
"oklch": {
"l": 0.49586,
"c": 0.12951,
"h": 317
},
"luminance": 0.11094
}Semantic roles & 50–950 ramp
primary
#7F4792
secondary
#8EB382
accent
#CB5D79
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80