#79428A#79428A

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

Color values

HEX#79428A
RGBrgb(121, 66, 138)
HSLhsl(286, 35%, 40%)
HSVhsv(286, 52%, 54%)
CMYKcmyk(12.3%, 52.2%, 0%, 45.9%)
CIE-LABlab(37.48, 36.18, -30.55)
CIE-LCHlch(37.48, 47.35, 319.82°)
OKLaboklab(47.61% 0.0934 -0.0848)
OKLCHoklch(47.61% 0.126 317.8)
XYZxyz(14.4202, 9.7969, 25.1712)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79428A #538A42
analogous
#55428A #79428A #8A4277
triadic
#79428A #8A7942 #428A79
tetradic
#79428A #8A5542 #538A42 #42778A
square
#79428A #8A5542 #538A42 #42778A
split-complementary
#79428A #778A42 #428A55
monochromatic
#301A37 #552E61 #79428A #9B59B0 #B483C4

Accessibility & contrast

On white

7.10
#79428A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#79428A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79428A
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79428A#FFFFFF#000000##FFFFFF
##79428A1.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)
#34558C
Deuteranopia (green-blind)
#455A88
Tritanopia (blue-blind)
#794C60
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #79428a;
/* rgb */ color: rgb(121, 66, 138);
/* oklch */ color: oklch(47.6% 0.126 317.8);
Tailwind
colors: {
  custom: {
    50: '#a178ac',
    500: '#79428a',
    950: '#000000',
  },
}
SCSS
$custom: #79428a;
$custom-light: #a178ac;
$custom-dark: #000000;
JSON
{
  "hex": "#79428a",
  "rgb": {
    "r": 121,
    "g": 66,
    "b": 138
  },
  "hsl": {
    "h": 285.833,
    "s": 35.294,
    "l": 40
  },
  "oklch": {
    "l": 0.47606,
    "c": 0.12615,
    "h": 317.8
  },
  "luminance": 0.09796
}

Semantic roles & 50–950 ramp

primary
#79428A
secondary
#86AE79
accent
#CB5C77
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #79428A

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

Preview Lab → · Contrast checker → · Palette generator →

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