#79407C#79407C

#79407C is a mid, moderate purple. Relative luminance 0.092; OKLCH L 46.5% C 0.114 H 325.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#79407C
RGBrgb(121, 64, 124)
HSLhsl(297, 32%, 37%)
HSVhsv(297, 48%, 49%)
CMYKcmyk(2.4%, 48.4%, 0%, 51.4%)
CIE-LABlab(36.34, 34.33, -23.70)
CIE-LCHlch(36.34, 41.72, 325.38°)
OKLaboklab(46.54% 0.0942 -0.0651)
OKLCHoklch(46.54% 0.114 325.4)
XYZxyz(13.3563, 9.1876, 20.1347)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79407C #437C40
analogous
#5B407C #79407C #7C4061
triadic
#79407C #7C7940 #407C79
tetradic
#79407C #7C5B40 #437C40 #40617C
square
#79407C #7C5B40 #437C40 #40617C
split-complementary
#79407C #617C40 #407C5B
monochromatic
#2A162B #522B54 #79407C #A055A4 #B87BBB

Accessibility & contrast

On white

7.40
#79407C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#79407C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79407C
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79407C#FFFFFF#000000##FFFFFF
##79407C1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517E
Deuteranopia (green-blind)
#4A587A
Tritanopia (blue-blind)
#7C4758
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #79407c;
/* rgb */ color: rgb(121, 64, 124);
/* oklch */ color: oklch(46.5% 0.114 325.4);
Tailwind
colors: {
  custom: {
    50: '#a177a2',
    500: '#79407c',
    950: '#000000',
  },
}
SCSS
$custom: #79407c;
$custom-light: #a177a2;
$custom-dark: #000000;
JSON
{
  "hex": "#79407c",
  "rgb": {
    "r": 121,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 297,
    "s": 31.915,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46536,
    "c": 0.11449,
    "h": 325.4
  },
  "luminance": 0.09187
}

Semantic roles & 50–950 ramp

primary
#79407C
secondary
#75A672
accent
#C86065
background
#FAF7FA
surface
#F4EDF3
border
#CEC8CD
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #79407C

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

Preview Lab → · Contrast checker → · Palette generator →

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