#78417B#78417B

#78417B is a mid, moderate purple. Relative luminance 0.092; OKLCH L 46.5% C 0.111 H 325.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#78417B
RGBrgb(120, 65, 123)
HSLhsl(297, 31%, 37%)
HSVhsv(297, 47%, 48%)
CMYKcmyk(2.4%, 47.2%, 0%, 51.8%)
CIE-LABlab(36.37, 33.25, -23.04)
CIE-LCHlch(36.37, 40.45, 325.28°)
OKLaboklab(46.52% 0.0912 -0.0632)
OKLCHoklch(46.52% 0.111 325.3)
XYZxyz(13.2109, 9.2043, 19.8158)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78417B #447B41
analogous
#5B417B #78417B #7B4161
triadic
#78417B #7B7841 #417B78
tetradic
#78417B #7B5B41 #447B41 #41617B
square
#78417B #7B5B41 #447B41 #41617B
split-complementary
#78417B #617B41 #417B5B
monochromatic
#2A172B #512C53 #78417B #9F56A3 #B77CBA

Accessibility & contrast

On white

7.39
#78417B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#78417B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78417B
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78417B#FFFFFF#000000##FFFFFF
##78417B1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#4A5879
Tritanopia (blue-blind)
#7B4758
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #78417b;
/* rgb */ color: rgb(120, 65, 123);
/* oklch */ color: oklch(46.5% 0.111 325.3);
Tailwind
colors: {
  custom: {
    50: '#a077a1',
    500: '#78417b',
    950: '#000000',
  },
}
SCSS
$custom: #78417b;
$custom-light: #a077a1;
$custom-dark: #000000;
JSON
{
  "hex": "#78417b",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 296.897,
    "s": 30.851,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46515,
    "c": 0.11096,
    "h": 325.3
  },
  "luminance": 0.09204
}

Semantic roles & 50–950 ramp

primary
#78417B
secondary
#76A573
accent
#C76166
background
#FAF7F9
surface
#F3EDF2
border
#CDC8CC
text
#0F090F
muted
#7F7B7E

Preview Lab

Preview with #78417B

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

Preview Lab → · Contrast checker → · Palette generator →

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