#78397C#78397C
#78397C is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.3% C 0.126 H 325.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #78397C |
|---|---|
| RGB | rgb(120, 57, 124) |
| HSL | hsl(296, 37%, 35%) |
| HSV | hsv(296, 54%, 49%) |
| CMYK | cmyk(3.2%, 54%, 0%, 51.4%) |
| CIE-LAB | lab(34.75, 37.84, -26.19) |
| CIE-LCH | lch(34.75, 46.02, 325.31°) |
| OKLab | oklab(45.33% 0.1036 -0.0722) |
| OKLCH | oklch(45.33% 0.126 325.1) |
| XYZ | xyz(12.8466, 8.3752, 20.0048) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 4.74
Bruise
#7E4071
ΔE00 4.83
Grape
#6C3461
ΔE00 6.05
Warm Purple
#952E8F
ΔE00 6.12
Darkish Purple
#751973
ΔE00 6.15
Purple
#800080
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#78397C #3D7C39
analogous
#56397C #78397C #7C395E
triadic
#78397C #7C7839 #397C78
tetradic
#78397C #7C5639 #3D7C39 #395E7C
square
#78397C #7C5639 #3D7C39 #395E7C
split-complementary
#78397C #5E7C39 #397C56
monochromatic
#271228 #4F2652 #78397C #A14CA6 #B971BE
Accessibility & contrast
On white
7.85
#78397C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#78397C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #78397C
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##78397C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##78397C | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#44547A
Tritanopia (blue-blind)
#7B4155
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #78397c; /* rgb */ color: rgb(120, 57, 124); /* oklch */ color: oklch(45.3% 0.126 325.1);
Tailwind
colors: {
custom: {
50: '#a172a2',
500: '#78397c',
950: '#000000',
},
}SCSS
$custom: #78397c; $custom-light: #a172a2; $custom-dark: #000000;
JSON
{
"hex": "#78397c",
"rgb": {
"r": 120,
"g": 57,
"b": 124
},
"hsl": {
"h": 296.418,
"s": 37.017,
"l": 35.49
},
"oklch": {
"l": 0.45329,
"c": 0.12625,
"h": 325.1
},
"luminance": 0.08375
}Semantic roles & 50–950 ramp
primary
#78397C
secondary
#6DA76A
accent
#CD5B62
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#0F080F
muted
#7F7B7F