#78417A#78417A

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

Color values

HEX#78417A
RGBrgb(120, 65, 122)
HSLhsl(298, 30%, 37%)
HSVhsv(298, 47%, 48%)
CMYKcmyk(1.6%, 46.7%, 0%, 52.2%)
CIE-LABlab(36.33, 33.04, -22.49)
CIE-LCHlch(36.33, 39.97, 325.76°)
OKLaboklab(46.46% 0.091 -0.0616)
OKLCHoklch(46.46% 0.11 325.9)
XYZxyz(13.1486, 9.1794, 19.4878)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78417A #437A41
analogous
#5C417A #78417A #7A4160
triadic
#78417A #7A7841 #417A78
tetradic
#78417A #7A5C41 #437A41 #41607A
square
#78417A #7A5C41 #437A41 #41607A
split-complementary
#78417A #607A41 #417A5C
monochromatic
#29162A #512C52 #78417A #9F56A2 #B77CB9

Accessibility & contrast

On white

7.41
#78417A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78417A
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78417A#FFFFFF#000000##FFFFFF
##78417A1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517C
Deuteranopia (green-blind)
#4B5878
Tritanopia (blue-blind)
#7B4758
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #78417a;
/* rgb */ color: rgb(120, 65, 122);
/* oklch */ color: oklch(46.5% 0.110 325.9);
Tailwind
colors: {
  custom: {
    50: '#a077a0',
    500: '#78417a',
    950: '#000000',
  },
}
SCSS
$custom: #78417a;
$custom-light: #a077a0;
$custom-dark: #000000;
JSON
{
  "hex": "#78417a",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 297.895,
    "s": 30.481,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46464,
    "c": 0.1099,
    "h": 325.9
  },
  "luminance": 0.09179
}

Semantic roles & 50–950 ramp

primary
#78417A
secondary
#74A473
accent
#C76165
background
#FAF7F9
surface
#F3EDF2
border
#CDC8CC
text
#0F090F
muted
#7F7B7E

Preview Lab

Preview with #78417A

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

Preview Lab → · Contrast checker → · Palette generator →

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