#79407B#79407B

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

Color values

HEX#79407B
RGBrgb(121, 64, 123)
HSLhsl(298, 32%, 37%)
HSVhsv(298, 48%, 48%)
CMYKcmyk(1.6%, 48%, 0%, 51.8%)
CIE-LABlab(36.30, 34.13, -23.15)
CIE-LCHlch(36.30, 41.24, 325.85°)
OKLaboklab(46.49% 0.094 -0.0635)
OKLCHoklch(46.49% 0.113 326)
XYZxyz(13.2934, 9.1625, 19.8034)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79407B #427B40
analogous
#5C407B #79407B #7B4060
triadic
#79407B #7B7940 #407B79
tetradic
#79407B #7B5C40 #427B40 #40607B
square
#79407B #7B5C40 #427B40 #40607B
split-complementary
#79407B #607B40 #407B5C
monochromatic
#2A162A #512B53 #79407B #A155A3 #B87BBA

Accessibility & contrast

On white

7.41
#79407B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#79407B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79407B
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79407B#FFFFFF#000000##FFFFFF
##79407B1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A517D
Deuteranopia (green-blind)
#4A5879
Tritanopia (blue-blind)
#7C4658
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #79407b;
/* rgb */ color: rgb(121, 64, 123);
/* oklch */ color: oklch(46.5% 0.113 326.0);
Tailwind
colors: {
  custom: {
    50: '#a177a1',
    500: '#79407b',
    950: '#000000',
  },
}
SCSS
$custom: #79407b;
$custom-light: #a177a1;
$custom-dark: #000000;
JSON
{
  "hex": "#79407b",
  "rgb": {
    "r": 121,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 297.966,
    "s": 31.551,
    "l": 36.667
  },
  "oklch": {
    "l": 0.46485,
    "c": 0.11345,
    "h": 326
  },
  "luminance": 0.09162
}

Semantic roles & 50–950 ramp

primary
#79407B
secondary
#74A572
accent
#C86064
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F090F
muted
#7F7B7E

Preview Lab

Preview with #79407B

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

Preview Lab → · Contrast checker → · Palette generator →

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