#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
RGBrgb(120, 57, 123)
HSLhsl(297, 37%, 35%)
HSVhsv(297, 54%, 48%)
CMYKcmyk(2.4%, 53.7%, 0%, 51.8%)
CIE-LABlab(34.70, 37.64, -25.65)
CIE-LCHlch(34.70, 45.55, 325.72°)
OKLaboklab(45.28% 0.1034 -0.0706)
OKLCHoklch(45.28% 0.125 325.7)
XYZxyz(12.7837, 8.3501, 19.6734)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

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
##78397B1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.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

Preview Lab

Preview with #78397B

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

Preview Lab → · Contrast checker → · Palette generator →

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