#78428B#78428B

#78428B is a mid, vivid purple. Relative luminance 0.098; OKLCH L 47.5% C 0.127 H 316.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#78428B
RGBrgb(120, 66, 139)
HSLhsl(284, 36%, 40%)
HSVhsv(284, 53%, 55%)
CMYKcmyk(13.7%, 52.5%, 0%, 45.5%)
CIE-LABlab(37.40, 36.10, -31.29)
CIE-LCHlch(37.40, 47.78, 319.08°)
OKLaboklab(47.54% 0.0922 -0.087)
OKLCHoklch(47.54% 0.127 316.7)
XYZxyz(14.3535, 9.7540, 25.5477)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78428B #558B42
analogous
#54428B #78428B #8B4279
triadic
#78428B #8B7842 #428B78
tetradic
#78428B #8B5442 #558B42 #42798B
square
#78428B #8B5442 #558B42 #42798B
split-complementary
#78428B #798B42 #428B54
monochromatic
#301B38 #542E62 #78428B #9A5AB1 #B383C4

Accessibility & contrast

On white

7.12
#78428B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#78428B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78428B
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78428B#FFFFFF#000000##FFFFFF
##78428B1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33558D
Deuteranopia (green-blind)
#445A89
Tritanopia (blue-blind)
#774D60
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #78428b;
/* rgb */ color: rgb(120, 66, 139);
/* oklch */ color: oklch(47.5% 0.127 316.7);
Tailwind
colors: {
  custom: {
    50: '#a178ad',
    500: '#78428b',
    950: '#000000',
  },
}
SCSS
$custom: #78428b;
$custom-light: #a178ad;
$custom-dark: #000000;
JSON
{
  "hex": "#78428b",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 139
  },
  "hsl": {
    "h": 284.384,
    "s": 35.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47537,
    "c": 0.12677,
    "h": 316.7
  },
  "luminance": 0.09754
}

Semantic roles & 50–950 ramp

primary
#78428B
secondary
#88AF7A
accent
#CC5C79
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #78428B

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

Preview Lab → · Contrast checker → · Palette generator →

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