#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
RGBrgb(120, 57, 124)
HSLhsl(296, 37%, 35%)
HSVhsv(296, 54%, 49%)
CMYKcmyk(3.2%, 54%, 0%, 51.4%)
CIE-LABlab(34.75, 37.84, -26.19)
CIE-LCHlch(34.75, 46.02, 325.31°)
OKLaboklab(45.33% 0.1036 -0.0722)
OKLCHoklch(45.33% 0.126 325.1)
XYZxyz(12.8466, 8.3752, 20.0048)
Luminance0.0838 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

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
##78397C1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.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

Preview Lab

Preview with #78397C

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

Preview Lab → · Contrast checker → · Palette generator →

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