#78428E#78428E

#78428E is a mid, vivid purple. Relative luminance 0.098; OKLCH L 47.7% C 0.130 H 315.3°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#78428E
RGBrgb(120, 66, 142)
HSLhsl(283, 37%, 41%)
HSVhsv(283, 54%, 56%)
CMYKcmyk(15.5%, 53.5%, 0%, 44.3%)
CIE-LABlab(37.56, 36.77, -32.87)
CIE-LCHlch(37.56, 49.32, 318.21°)
OKLaboklab(47.71% 0.0925 -0.0916)
OKLCHoklch(47.71% 0.13 315.3)
XYZxyz(14.5757, 9.8429, 26.7180)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78428E #588E42
analogous
#52428E #78428E #8E427E
triadic
#78428E #8E7842 #428E78
tetradic
#78428E #8E5242 #588E42 #427E8E
square
#78428E #8E5242 #588E42 #427E8E
split-complementary
#78428E #7E8E42 #428E52
monochromatic
#311B3A #552F64 #78428E #995BB3 #B384C6

Accessibility & contrast

On white

7.07
#78428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#78428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78428E
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78428E#FFFFFF#000000##FFFFFF
##78428E1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315591
Deuteranopia (green-blind)
#425A8C
Tritanopia (blue-blind)
#774E61
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #78428e;
/* rgb */ color: rgb(120, 66, 142);
/* oklch */ color: oklch(47.7% 0.130 315.3);
Tailwind
colors: {
  custom: {
    50: '#a178af',
    500: '#78428e',
    950: '#000000',
  },
}
SCSS
$custom: #78428e;
$custom-light: #a178af;
$custom-dark: #000000;
JSON
{
  "hex": "#78428e",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 282.632,
    "s": 36.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47709,
    "c": 0.1302,
    "h": 315.3
  },
  "luminance": 0.09842
}

Semantic roles & 50–950 ramp

primary
#78428E
secondary
#8BB17B
accent
#CD5B7C
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #78428E

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

Preview Lab → · Contrast checker → · Palette generator →

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