#78428F#78428F

#78428F is a mid, vivid purple. Relative luminance 0.099; OKLCH L 47.8% C 0.131 H 314.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#78428F
RGBrgb(120, 66, 143)
HSLhsl(282, 37%, 41%)
HSVhsv(282, 54%, 56%)
CMYKcmyk(16.1%, 53.8%, 0%, 43.9%)
CIE-LABlab(37.61, 37.00, -33.39)
CIE-LCHlch(37.61, 49.84, 317.93°)
OKLaboklab(47.77% 0.0927 -0.0931)
OKLCHoklch(47.77% 0.131 314.9)
XYZxyz(14.6511, 9.8731, 27.1152)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78428F #598F42
analogous
#51428F #78428F #8F427F
triadic
#78428F #8F7842 #428F78
tetradic
#78428F #8F5142 #598F42 #427F8F
square
#78428F #8F5142 #598F42 #427F8F
split-complementary
#78428F #7F8F42 #428F51
monochromatic
#321B3B #552F65 #78428F #995BB3 #B385C7

Accessibility & contrast

On white

7.06
#78428F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78428F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78428F#FFFFFF#000000##FFFFFF
##78428F1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305592
Deuteranopia (green-blind)
#415A8D
Tritanopia (blue-blind)
#764E62
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #78428f;
/* rgb */ color: rgb(120, 66, 143);
/* oklch */ color: oklch(47.8% 0.131 314.9);
Tailwind
colors: {
  custom: {
    50: '#a178b0',
    500: '#78428f',
    950: '#000000',
  },
}
SCSS
$custom: #78428f;
$custom-light: #a178b0;
$custom-dark: #000000;
JSON
{
  "hex": "#78428f",
  "rgb": {
    "r": 120,
    "g": 66,
    "b": 143
  },
  "hsl": {
    "h": 282.078,
    "s": 36.842,
    "l": 40.98
  },
  "oklch": {
    "l": 0.47767,
    "c": 0.13135,
    "h": 314.9
  },
  "luminance": 0.09873
}

Semantic roles & 50–950 ramp

primary
#78428F
secondary
#8CB17B
accent
#CD5B7D
background
#FAF7FA
surface
#F4EDF5
border
#CEC8CF
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #78428F

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

Preview Lab → · Contrast checker → · Palette generator →

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