#78397D#78397D

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

Color values

HEX#78397D
RGBrgb(120, 57, 125)
HSLhsl(296, 37%, 36%)
HSVhsv(296, 54%, 49%)
CMYKcmyk(4%, 54.4%, 0%, 51%)
CIE-LABlab(34.80, 38.04, -26.74)
CIE-LCHlch(34.80, 46.49, 324.90°)
OKLaboklab(45.38% 0.1037 -0.0738)
OKLCHoklch(45.38% 0.127 324.6)
XYZxyz(12.9102, 8.4007, 20.3395)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78397D #3E7D39
analogous
#56397D #78397D #7D3960
triadic
#78397D #7D7839 #397D78
tetradic
#78397D #7D5639 #3E7D39 #39607D
square
#78397D #7D5639 #3E7D39 #39607D
split-complementary
#78397D #607D39 #397D56
monochromatic
#271329 #502653 #78397D #A04CA7 #B972BF

Accessibility & contrast

On white

7.84
#78397D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#78397D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78397D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78397D#FFFFFF#000000##FFFFFF
##78397D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D7F
Deuteranopia (green-blind)
#44557B
Tritanopia (blue-blind)
#7A4155
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #78397d;
/* rgb */ color: rgb(120, 57, 125);
/* oklch */ color: oklch(45.4% 0.127 324.6);
Tailwind
colors: {
  custom: {
    50: '#a172a3',
    500: '#78397d',
    950: '#000000',
  },
}
SCSS
$custom: #78397d;
$custom-light: #a172a3;
$custom-dark: #000000;
JSON
{
  "hex": "#78397d",
  "rgb": {
    "r": 120,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 295.588,
    "s": 37.363,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45384,
    "c": 0.12726,
    "h": 324.6
  },
  "luminance": 0.084
}

Semantic roles & 50–950 ramp

primary
#78397D
secondary
#6FA86A
accent
#CD5A63
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#0F080F
muted
#7F7B7F

Preview Lab

Preview with #78397D

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

Preview Lab → · Contrast checker → · Palette generator →

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