#79408E#79408E

#79408E is a mid, vivid purple. Relative luminance 0.097; OKLCH L 47.5% C 0.134 H 316.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#79408E
RGBrgb(121, 64, 142)
HSLhsl(284, 38%, 40%)
HSVhsv(284, 55%, 56%)
CMYKcmyk(14.8%, 54.9%, 0%, 44.3%)
CIE-LABlab(37.27, 38.16, -33.31)
CIE-LCHlch(37.27, 50.66, 318.88°)
OKLaboklab(47.53% 0.0967 -0.0928)
OKLCHoklch(47.53% 0.134 316.2)
XYZxyz(14.6003, 9.6852, 26.6863)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79408E #558E40
analogous
#52408E #79408E #8E407C
triadic
#79408E #8E7940 #408E79
tetradic
#79408E #8E5240 #558E40 #407C8E
square
#79408E #8E5240 #558E40 #407C8E
split-complementary
#79408E #7C8E40 #408E52
monochromatic
#311A3A #552D64 #79408E #9B58B4 #B482C7

Accessibility & contrast

On white

7.15
#79408E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#79408E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79408E
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79408E#FFFFFF#000000##FFFFFF
##79408E1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5491
Deuteranopia (green-blind)
#41598C
Tritanopia (blue-blind)
#784C61
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #79408e;
/* rgb */ color: rgb(121, 64, 142);
/* oklch */ color: oklch(47.5% 0.134 316.2);
Tailwind
colors: {
  custom: {
    50: '#a277af',
    500: '#79408e',
    950: '#000000',
  },
}
SCSS
$custom: #79408e;
$custom-light: #a277af;
$custom-dark: #000000;
JSON
{
  "hex": "#79408e",
  "rgb": {
    "r": 121,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 283.846,
    "s": 37.864,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47525,
    "c": 0.13407,
    "h": 316.2
  },
  "luminance": 0.09685
}

Semantic roles & 50–950 ramp

primary
#79408E
secondary
#88B179
accent
#CE5A79
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #79408E

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

Preview Lab → · Contrast checker → · Palette generator →

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