#7E438E#7E438E
#7E438E is a mid, vivid purple. Relative luminance 0.104; OKLCH L 48.6% C 0.131 H 318.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7E438E |
|---|---|
| RGB | rgb(126, 67, 142) |
| HSL | hsl(287, 36%, 41%) |
| HSV | hsv(287, 53%, 56%) |
| CMYK | cmyk(11.3%, 52.8%, 0%, 44.3%) |
| CIE-LAB | lab(38.56, 37.97, -31.24) |
| CIE-LCH | lch(38.56, 49.17, 320.55°) |
| OKLab | oklab(48.62% 0.0988 -0.0867) |
| OKLCH | oklch(48.62% 0.131 318.7) |
| XYZ | xyz(15.4932, 10.4035, 26.7779) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 4.18
Warm Purple
#952E8F
ΔE00 5.88
Medium Purple
#9E43A2
ΔE00 6.63
Royal Purple
#7851A9
ΔE00 6.92
Bruise
#7E4071
ΔE00 7.12
Purply
#983FB2
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E438E #538E43
analogous
#58438E #7E438E #8E4378
triadic
#7E438E #8E7E43 #438E7E
tetradic
#7E438E #8E5843 #538E43 #43788E
square
#7E438E #8E5843 #538E43 #43788E
split-complementary
#7E438E #788E43 #438E58
monochromatic
#341C3B #592F64 #7E438E #A05CB2 #B886C6
Accessibility & contrast
On white
6.82
#7E438E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#7E438E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7E438E
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E438E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E438E | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#475D8C
Tritanopia (blue-blind)
#7E4E62
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7e438e; /* rgb */ color: rgb(126, 67, 142); /* oklch */ color: oklch(48.6% 0.131 318.7);
Tailwind
colors: {
custom: {
50: '#a579af',
500: '#7e438e',
950: '#000000',
},
}SCSS
$custom: #7e438e; $custom-light: #a579af; $custom-dark: #000000;
JSON
{
"hex": "#7e438e",
"rgb": {
"r": 126,
"g": 67,
"b": 142
},
"hsl": {
"h": 287.2,
"s": 35.885,
"l": 40.98
},
"oklch": {
"l": 0.48616,
"c": 0.13146,
"h": 318.7
},
"luminance": 0.10403
}Semantic roles & 50–950 ramp
primary
#7E438E
secondary
#87B17C
accent
#CC5C74
background
#FAF7FA
surface
#F4EEF4
border
#CEC9CE
text
#0F0910
muted
#7F7B7F