#78397E#78397E

#78397E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.4% C 0.128 H 324.0°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#78397E
RGBrgb(120, 57, 126)
HSLhsl(295, 38%, 36%)
HSVhsv(295, 55%, 49%)
CMYKcmyk(4.8%, 54.8%, 0%, 50.6%)
CIE-LABlab(34.86, 38.24, -27.28)
CIE-LCHlch(34.86, 46.97, 324.50°)
OKLaboklab(45.44% 0.1038 -0.0753)
OKLCHoklch(45.44% 0.128 324)
XYZxyz(12.9744, 8.4263, 20.6777)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78397E #3F7E39
analogous
#55397E #78397E #7E3961
triadic
#78397E #7E7839 #397E78
tetradic
#78397E #7E5539 #3F7E39 #39617E
square
#78397E #7E5539 #3F7E39 #39617E
split-complementary
#78397E #617E39 #397E55
monochromatic
#28132A #502654 #78397E #A04CA8 #B972BF

Accessibility & contrast

On white

7.82
#78397E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#78397E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78397E
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78397E#FFFFFF#000000##FFFFFF
##78397E1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#43557C
Tritanopia (blue-blind)
#7A4256
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #78397e;
/* rgb */ color: rgb(120, 57, 126);
/* oklch */ color: oklch(45.4% 0.128 324.0);
Tailwind
colors: {
  custom: {
    50: '#a172a3',
    500: '#78397e',
    950: '#000000',
  },
}
SCSS
$custom: #78397e;
$custom-light: #a172a3;
$custom-dark: #000000;
JSON
{
  "hex": "#78397e",
  "rgb": {
    "r": 120,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 294.783,
    "s": 37.705,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45439,
    "c": 0.12828,
    "h": 324
  },
  "luminance": 0.08426
}

Semantic roles & 50–950 ramp

primary
#78397E
secondary
#70A86A
accent
#CE5A64
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #78397E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#78397E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva