#79428C#79428C

#79428C is a mid, vivid purple. Relative luminance 0.099; OKLCH L 47.7% C 0.128 H 316.8°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#79428C
RGBrgb(121, 66, 140)
HSLhsl(285, 36%, 40%)
HSVhsv(285, 53%, 55%)
CMYKcmyk(13.6%, 52.9%, 0%, 45.1%)
CIE-LABlab(37.58, 36.62, -31.60)
CIE-LCHlch(37.58, 48.37, 319.20°)
OKLaboklab(47.72% 0.0936 -0.0879)
OKLCHoklch(47.72% 0.128 316.8)
XYZxyz(14.5663, 9.8553, 25.9408)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79428C #558C42
analogous
#54428C #79428C #8C427A
triadic
#79428C #8C7942 #428C79
tetradic
#79428C #8C5442 #558C42 #427A8C
square
#79428C #8C5442 #558C42 #427A8C
split-complementary
#79428C #7A8C42 #428C54
monochromatic
#311B39 #552E62 #79428C #9B5AB1 #B484C5

Accessibility & contrast

On white

7.07
#79428C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#79428C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79428C
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79428C#FFFFFF#000000##FFFFFF
##79428C1.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)
#33558E
Deuteranopia (green-blind)
#445A8A
Tritanopia (blue-blind)
#784D61
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #79428c;
/* rgb */ color: rgb(121, 66, 140);
/* oklch */ color: oklch(47.7% 0.128 316.8);
Tailwind
colors: {
  custom: {
    50: '#a178ae',
    500: '#79428c',
    950: '#000000',
  },
}
SCSS
$custom: #79428c;
$custom-light: #a178ae;
$custom-dark: #000000;
JSON
{
  "hex": "#79428c",
  "rgb": {
    "r": 121,
    "g": 66,
    "b": 140
  },
  "hsl": {
    "h": 284.595,
    "s": 35.922,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47719,
    "c": 0.12841,
    "h": 316.8
  },
  "luminance": 0.09855
}

Semantic roles & 50–950 ramp

primary
#79428C
secondary
#88B07A
accent
#CC5C79
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #79428C

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

Preview Lab → · Contrast checker → · Palette generator →

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