#7E428F#7E428F
#7E428F is a mid, vivid purple. Relative luminance 0.103; OKLCH L 48.5% C 0.134 H 318.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7E428F |
|---|---|
| RGB | rgb(126, 66, 143) |
| HSL | hsl(287, 37%, 41%) |
| HSV | hsv(287, 54%, 56%) |
| CMYK | cmyk(11.9%, 53.8%, 0%, 43.9%) |
| CIE-LAB | lab(38.40, 38.73, -32.09) |
| CIE-LCH | lch(38.40, 50.30, 320.35°) |
| OKLab | oklab(48.52% 0.1004 -0.0892) |
| OKLCH | oklch(48.52% 0.134 318.4) |
| XYZ | xyz(15.5097, 10.3158, 27.1554) |
| Luminance | 0.1032 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 4.46
Warm Purple
#952E8F
ΔE00 5.77
Medium Purple
#9E43A2
ΔE00 6.61
Royal Purple
#7851A9
ΔE00 6.84
Purply
#983FB2
ΔE00 7.03
Bruise
#7E4071
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E428F #538F42
analogous
#57428F #7E428F #8F4279
triadic
#7E428F #8F7E42 #428F7E
tetradic
#7E428F #8F5742 #538F42 #42798F
square
#7E428F #8F5742 #538F42 #42798F
split-complementary
#7E428F #798F42 #428F57
monochromatic
#341B3B #592F65 #7E428F #A05BB3 #B885C7
Accessibility & contrast
On white
6.86
#7E428F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#7E428F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E428F
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E428F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E428F | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#335692
Deuteranopia (green-blind)
#465C8D
Tritanopia (blue-blind)
#7E4D62
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7e428f; /* rgb */ color: rgb(126, 66, 143); /* oklch */ color: oklch(48.5% 0.134 318.4);
Tailwind
colors: {
custom: {
50: '#a579b0',
500: '#7e428f',
950: '#000000',
},
}SCSS
$custom: #7e428f; $custom-light: #a579b0; $custom-dark: #000000;
JSON
{
"hex": "#7e428f",
"rgb": {
"r": 126,
"g": 66,
"b": 143
},
"hsl": {
"h": 286.753,
"s": 36.842,
"l": 40.98
},
"oklch": {
"l": 0.4852,
"c": 0.13426,
"h": 318.4
},
"luminance": 0.10315
}Semantic roles & 50–950 ramp
primary
#7E428F
secondary
#87B17B
accent
#CD5B74
background
#FAF7FA
surface
#F4EDF5
border
#CEC8CF
text
#0F0910
muted
#7F7B7F