#79408C#79408C

#79408C is a mid, vivid purple. Relative luminance 0.096; OKLCH L 47.4% C 0.132 H 317.1°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#79408C
RGBrgb(121, 64, 140)
HSLhsl(285, 37%, 40%)
HSVhsv(285, 54%, 55%)
CMYKcmyk(13.6%, 54.3%, 0%, 45.1%)
CIE-LABlab(37.16, 37.72, -32.27)
CIE-LCHlch(37.16, 49.64, 319.46°)
OKLaboklab(47.41% 0.0965 -0.0898)
OKLCHoklch(47.41% 0.132 317.1)
XYZxyz(14.4515, 9.6257, 25.9025)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79408C #538C40
analogous
#53408C #79408C #8C4079
triadic
#79408C #8C7940 #408C79
tetradic
#79408C #8C5340 #538C40 #40798C
square
#79408C #8C5340 #538C40 #40798C
split-complementary
#79408C #798C40 #408C53
monochromatic
#301A38 #552D62 #79408C #9B57B2 #B481C5

Accessibility & contrast

On white

7.18
#79408C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#79408C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79408C
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79408C#FFFFFF#000000##FFFFFF
##79408C1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#42598A
Tritanopia (blue-blind)
#784C60
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #79408c;
/* rgb */ color: rgb(121, 64, 140);
/* oklch */ color: oklch(47.4% 0.132 317.1);
Tailwind
colors: {
  custom: {
    50: '#a277ae',
    500: '#79408c',
    950: '#000000',
  },
}
SCSS
$custom: #79408c;
$custom-light: #a277ae;
$custom-dark: #000000;
JSON
{
  "hex": "#79408c",
  "rgb": {
    "r": 121,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 285,
    "s": 37.255,
    "l": 40
  },
  "oklch": {
    "l": 0.47409,
    "c": 0.13184,
    "h": 317.1
  },
  "luminance": 0.09625
}

Semantic roles & 50–950 ramp

primary
#79408C
secondary
#86B078
accent
#CD5B77
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #79408C

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

Preview Lab → · Contrast checker → · Palette generator →

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