#78417E#78417E

#78417E is a mid, moderate purple. Relative luminance 0.093; OKLCH L 46.7% C 0.114 H 323.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#78417E
RGBrgb(120, 65, 126)
HSLhsl(294, 32%, 37%)
HSVhsv(294, 48%, 49%)
CMYKcmyk(4.8%, 48.4%, 0%, 50.6%)
CIE-LABlab(36.52, 33.87, -24.67)
CIE-LCHlch(36.52, 41.90, 323.93°)
OKLaboklab(46.67% 0.0918 -0.0679)
OKLCHoklch(46.67% 0.114 323.5)
XYZxyz(13.4015, 9.2806, 20.8200)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78417E #477E41
analogous
#59417E #78417E #7E4166
triadic
#78417E #7E7841 #417E78
tetradic
#78417E #7E5941 #477E41 #41667E
square
#78417E #7E5941 #477E41 #41667E
split-complementary
#78417E #667E41 #417E59
monochromatic
#2B172D #522C56 #78417E #9E56A6 #B67DBC

Accessibility & contrast

On white

7.35
#78417E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#78417E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78417E
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78417E#FFFFFF#000000##FFFFFF
##78417E1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395280
Deuteranopia (green-blind)
#49587C
Tritanopia (blue-blind)
#7A4859
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #78417e;
/* rgb */ color: rgb(120, 65, 126);
/* oklch */ color: oklch(46.7% 0.114 323.5);
Tailwind
colors: {
  custom: {
    50: '#a077a3',
    500: '#78417e',
    950: '#000000',
  },
}
SCSS
$custom: #78417e;
$custom-light: #a077a3;
$custom-dark: #000000;
JSON
{
  "hex": "#78417e",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 294.098,
    "s": 31.937,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46669,
    "c": 0.11415,
    "h": 323.5
  },
  "luminance": 0.0928
}

Semantic roles & 50–950 ramp

primary
#78417E
secondary
#79A774
accent
#C8606A
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #78417E

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

Preview Lab → · Contrast checker → · Palette generator →

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