#78417C#78417C

#78417C is a mid, moderate purple. Relative luminance 0.092; OKLCH L 46.6% C 0.112 H 324.7°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#78417C
RGBrgb(120, 65, 124)
HSLhsl(296, 31%, 37%)
HSVhsv(296, 48%, 49%)
CMYKcmyk(3.2%, 47.6%, 0%, 51.4%)
CIE-LABlab(36.42, 33.45, -23.58)
CIE-LCHlch(36.42, 40.93, 324.82°)
OKLaboklab(46.57% 0.0914 -0.0648)
OKLCHoklch(46.57% 0.112 324.7)
XYZxyz(13.2738, 9.2295, 20.1472)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78417C #457C41
analogous
#5B417C #78417C #7C4163
triadic
#78417C #7C7841 #417C78
tetradic
#78417C #7C5B41 #457C41 #41637C
square
#78417C #7C5B41 #457C41 #41637C
split-complementary
#78417C #637C41 #417C5B
monochromatic
#2A172C #512C54 #78417C #9F56A4 #B67DBB

Accessibility & contrast

On white

7.38
#78417C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#78417C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78417C
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78417C#FFFFFF#000000##FFFFFF
##78417C1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517E
Deuteranopia (green-blind)
#4A587A
Tritanopia (blue-blind)
#7A4858
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #78417c;
/* rgb */ color: rgb(120, 65, 124);
/* oklch */ color: oklch(46.6% 0.112 324.7);
Tailwind
colors: {
  custom: {
    50: '#a077a2',
    500: '#78417c',
    950: '#000000',
  },
}
SCSS
$custom: #78417c;
$custom-light: #a077a2;
$custom-dark: #000000;
JSON
{
  "hex": "#78417c",
  "rgb": {
    "r": 120,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 295.932,
    "s": 31.217,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46566,
    "c": 0.11201,
    "h": 324.7
  },
  "luminance": 0.09229
}

Semantic roles & 50–950 ramp

primary
#78417C
secondary
#77A573
accent
#C76067
background
#FAF7FA
surface
#F3EDF3
border
#CDC8CD
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #78417C

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

Preview Lab → · Contrast checker → · Palette generator →

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