#78427F#78427F
#78427F is a mid, moderate purple. Relative luminance 0.094; OKLCH L 46.9% C 0.113 H 322.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #78427F |
|---|---|
| RGB | rgb(120, 66, 127) |
| HSL | hsl(293, 32%, 38%) |
| HSV | hsv(293, 48%, 50%) |
| CMYK | cmyk(5.5%, 48%, 0%, 50.2%) |
| CIE-LAB | lab(36.79, 33.51, -24.88) |
| CIE-LCH | lch(36.79, 41.73, 323.41°) |
| OKLab | oklab(46.88% 0.0904 -0.0685) |
| OKLCH | oklch(46.88% 0.113 322.9) |
| XYZ | xyz(13.5243, 9.4224, 21.1809) |
| Luminance | 0.0942 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 3.75
Bruise
#7E4071
ΔE00 4.48
Grape
#6C3461
ΔE00 6.81
Warm Purple
#952E8F
ΔE00 7.04
Muted Purple
#805B87
ΔE00 7.88
Purplish
#94568C
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78427F #497F42
analogous
#59427F #78427F #7F4267
triadic
#78427F #7F7842 #427F78
tetradic
#78427F #7F5942 #497F42 #42677F
square
#78427F #7F5942 #497F42 #42677F
split-complementary
#78427F #677F42 #427F59
monochromatic
#2C182E #522D57 #78427F #9E57A7 #B57FBC
Accessibility & contrast
On white
7.28
#78427F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#78427F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #78427F
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78427F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##78427F | 1.00 | 7.28 | 2.88 | 7.28 |
| #FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A5281
Deuteranopia (green-blind)
#49597D
Tritanopia (blue-blind)
#7A495A
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #78427f; /* rgb */ color: rgb(120, 66, 127); /* oklch */ color: oklch(46.9% 0.113 322.9);
Tailwind
colors: {
custom: {
50: '#a078a4',
500: '#78427f',
950: '#000000',
},
}SCSS
$custom: #78427f; $custom-light: #a078a4; $custom-dark: #000000;
JSON
{
"hex": "#78427f",
"rgb": {
"r": 120,
"g": 66,
"b": 127
},
"hsl": {
"h": 293.115,
"s": 31.606,
"l": 37.843
},
"oklch": {
"l": 0.46883,
"c": 0.11341,
"h": 322.9
},
"luminance": 0.09422
}Semantic roles & 50–950 ramp
primary
#78427F
secondary
#7BA775
accent
#C8606C
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F090F
muted
#7F7B7F