#78428D#78428D

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

Color values

HEX#78428D
RGBrgb(120, 66, 141)
HSLhsl(283, 36%, 41%)
HSVhsv(283, 53%, 55%)
CMYKcmyk(14.9%, 53.2%, 0%, 44.7%)
CIE-LABlab(37.50, 36.55, -32.34)
CIE-LCHlch(37.50, 48.80, 318.49°)
OKLaboklab(47.65% 0.0924 -0.09)
OKLCHoklch(47.65% 0.129 315.8)
XYZxyz(14.5009, 9.8130, 26.3244)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78428D #578D42
analogous
#52428D #78428D #8D427C
triadic
#78428D #8D7842 #428D78
tetradic
#78428D #8D5242 #578D42 #427C8D
square
#78428D #8D5242 #578D42 #427C8D
split-complementary
#78428D #7C8D42 #428D52
monochromatic
#311B3A #552E63 #78428D #995AB2 #B384C5

Accessibility & contrast

On white

7.09
#78428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78428D
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78428D#FFFFFF#000000##FFFFFF
##78428D1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #78428d;
/* rgb */ color: rgb(120, 66, 141);
/* oklch */ color: oklch(47.7% 0.129 315.8);
Tailwind
colors: {
  custom: {
    50: '#a178af',
    500: '#78428d',
    950: '#000000',
  },
}
SCSS
$custom: #78428d;
$custom-light: #a178af;
$custom-dark: #000000;
JSON
{
  "hex": "#78428d",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 283.2,
    "s": 36.232,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47651,
    "c": 0.12905,
    "h": 315.8
  },
  "luminance": 0.09813
}

Semantic roles & 50–950 ramp

primary
#78428D
secondary
#8AB07B
accent
#CC5C7B
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #78428D

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

Preview Lab → · Contrast checker → · Palette generator →

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