#78428A#78428A

#78428A is a mid, vivid purple. Relative luminance 0.097; OKLCH L 47.5% C 0.126 H 317.1°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#78428A
RGBrgb(120, 66, 138)
HSLhsl(285, 35%, 40%)
HSVhsv(285, 52%, 54%)
CMYKcmyk(13%, 52.2%, 0%, 45.9%)
CIE-LABlab(37.34, 35.88, -30.76)
CIE-LCHlch(37.34, 47.26, 319.39°)
OKLaboklab(47.48% 0.0921 -0.0855)
OKLCHoklch(47.48% 0.126 317.1)
XYZxyz(14.2807, 9.7250, 25.1647)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78428A #548A42
analogous
#54428A #78428A #8A4278
triadic
#78428A #8A7842 #428A78
tetradic
#78428A #8A5442 #548A42 #42788A
square
#78428A #8A5442 #548A42 #42788A
split-complementary
#78428A #788A42 #428A54
monochromatic
#301A37 #542E61 #78428A #9A59B0 #B383C4

Accessibility & contrast

On white

7.13
#78428A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#78428A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78428A
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78428A#FFFFFF#000000##FFFFFF
##78428A1.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34548C
Deuteranopia (green-blind)
#445A88
Tritanopia (blue-blind)
#784D60
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #78428a;
/* rgb */ color: rgb(120, 66, 138);
/* oklch */ color: oklch(47.5% 0.126 317.1);
Tailwind
colors: {
  custom: {
    50: '#a178ac',
    500: '#78428a',
    950: '#000000',
  },
}
SCSS
$custom: #78428a;
$custom-light: #a178ac;
$custom-dark: #000000;
JSON
{
  "hex": "#78428a",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 138
  },
  "hsl": {
    "h": 285,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.4748,
    "c": 0.12564,
    "h": 317.1
  },
  "luminance": 0.09724
}

Semantic roles & 50–950 ramp

primary
#78428A
secondary
#87AE79
accent
#CB5C78
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #78428A

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

Preview Lab → · Contrast checker → · Palette generator →

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