#78428C#78428C

#78428C is a mid, vivid purple. Relative luminance 0.098; OKLCH L 47.6% C 0.128 H 316.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#78428C
RGBrgb(120, 66, 140)
HSLhsl(284, 36%, 40%)
HSVhsv(284, 53%, 55%)
CMYKcmyk(14.3%, 52.9%, 0%, 45.1%)
CIE-LABlab(37.45, 36.32, -31.82)
CIE-LCHlch(37.45, 48.29, 318.78°)
OKLaboklab(47.59% 0.0923 -0.0885)
OKLCHoklch(47.59% 0.128 316.2)
XYZxyz(14.4269, 9.7834, 25.9343)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78428C #568C42
analogous
#53428C #78428C #8C427B
triadic
#78428C #8C7842 #428C78
tetradic
#78428C #8C5342 #568C42 #427B8C
square
#78428C #8C5342 #568C42 #427B8C
split-complementary
#78428C #7B8C42 #428C53
monochromatic
#311B39 #542E62 #78428C #9A5AB1 #B384C5

Accessibility & contrast

On white

7.10
#78428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#78428C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78428C
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78428C#FFFFFF#000000##FFFFFF
##78428C1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32558E
Deuteranopia (green-blind)
#435A8A
Tritanopia (blue-blind)
#774D61
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #78428c;
/* rgb */ color: rgb(120, 66, 140);
/* oklch */ color: oklch(47.6% 0.128 316.2);
Tailwind
colors: {
  custom: {
    50: '#a178ae',
    500: '#78428c',
    950: '#000000',
  },
}
SCSS
$custom: #78428c;
$custom-light: #a178ae;
$custom-dark: #000000;
JSON
{
  "hex": "#78428c",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 283.784,
    "s": 35.922,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47594,
    "c": 0.12792,
    "h": 316.2
  },
  "luminance": 0.09783
}

Semantic roles & 50–950 ramp

primary
#78428C
secondary
#89B07A
accent
#CC5C7A
background
#FAF7FA
surface
#F3EDF4
border
#CDC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #78428C

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

Preview Lab → · Contrast checker → · Palette generator →

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