#79417D#79417D

#79417D is a mid, moderate purple. Relative luminance 0.093; OKLCH L 46.7% C 0.114 H 324.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#79417D
RGBrgb(121, 65, 125)
HSLhsl(296, 32%, 37%)
HSVhsv(296, 48%, 49%)
CMYKcmyk(3.2%, 48%, 0%, 51%)
CIE-LABlab(36.61, 33.98, -23.91)
CIE-LCHlch(36.61, 41.55, 324.87°)
OKLaboklab(46.75% 0.0929 -0.0657)
OKLCHoklch(46.75% 0.114 324.7)
XYZxyz(13.4768, 9.3268, 20.4884)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79417D #457D41
analogous
#5B417D #79417D #7D4163
triadic
#79417D #7D7941 #417D79
tetradic
#79417D #7D5B41 #457D41 #41637D
square
#79417D #7D5B41 #457D41 #41637D
split-complementary
#79417D #637D41 #417D5B
monochromatic
#2B172C #522C55 #79417D #A056A5 #B77DBB

Accessibility & contrast

On white

7.33
#79417D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#79417D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79417D
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79417D#FFFFFF#000000##FFFFFF
##79417D1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A527F
Deuteranopia (green-blind)
#4A597B
Tritanopia (blue-blind)
#7B4859
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #79417d;
/* rgb */ color: rgb(121, 65, 125);
/* oklch */ color: oklch(46.7% 0.114 324.7);
Tailwind
colors: {
  custom: {
    50: '#a178a3',
    500: '#79417d',
    950: '#000000',
  },
}
SCSS
$custom: #79417d;
$custom-light: #a178a3;
$custom-dark: #000000;
JSON
{
  "hex": "#79417d",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 296,
    "s": 31.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46747,
    "c": 0.11373,
    "h": 324.7
  },
  "luminance": 0.09326
}

Semantic roles & 50–950 ramp

primary
#79417D
secondary
#77A674
accent
#C86067
background
#FAF7FA
surface
#F3EDF3
border
#CDC8CD
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #79417D

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

Preview Lab → · Contrast checker → · Palette generator →

#79417D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva