#78397B#78397B
#78397B is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.3% C 0.125 H 325.7°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #78397B |
|---|---|
| RGB | rgb(120, 57, 123) |
| HSL | hsl(297, 37%, 35%) |
| HSV | hsv(297, 54%, 48%) |
| CMYK | cmyk(2.4%, 53.7%, 0%, 51.8%) |
| CIE-LAB | lab(34.70, 37.64, -25.65) |
| CIE-LCH | lch(34.70, 45.55, 325.72°) |
| OKLab | oklab(45.28% 0.1034 -0.0706) |
| OKLCH | oklch(45.28% 0.125 325.7) |
| XYZ | xyz(12.7837, 8.3501, 19.6734) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Bruise
#7E4071
ΔE00 4.61
Light Eggplant
#894585
ΔE00 4.71
Grape
#6C3461
ΔE00 5.83
Darkish Purple
#751973
ΔE00 6.16
Warm Purple
#952E8F
ΔE00 6.20
Purple
#800080
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78397B #3C7B39
analogous
#57397B #78397B #7B395D
triadic
#78397B #7B7839 #397B78
tetradic
#78397B #7B5739 #3C7B39 #395D7B
square
#78397B #7B5739 #3C7B39 #395D7B
split-complementary
#78397B #5D7B39 #397B57
monochromatic
#261227 #4F2651 #78397B #A14CA5 #BA71BD
Accessibility & contrast
On white
7.87
#78397B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#78397B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #78397B
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78397B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##78397B | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314D7D
Deuteranopia (green-blind)
#455479
Tritanopia (blue-blind)
#7B4154
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #78397b; /* rgb */ color: rgb(120, 57, 123); /* oklch */ color: oklch(45.3% 0.125 325.7);
Tailwind
colors: {
custom: {
50: '#a172a1',
500: '#78397b',
950: '#000000',
},
}SCSS
$custom: #78397b; $custom-light: #a172a1; $custom-dark: #000000;
JSON
{
"hex": "#78397b",
"rgb": {
"r": 120,
"g": 57,
"b": 123
},
"hsl": {
"h": 297.273,
"s": 36.667,
"l": 35.294
},
"oklch": {
"l": 0.45275,
"c": 0.12524,
"h": 325.7
},
"luminance": 0.08349
}Semantic roles & 50–950 ramp
primary
#78397B
secondary
#6CA669
accent
#CD5B60
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F080F
muted
#7F7B7E