#79417B#79417B

#79417B is a mid, moderate purple. Relative luminance 0.093; OKLCH L 46.6% C 0.112 H 325.9°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#79417B
RGBrgb(121, 65, 123)
HSLhsl(298, 31%, 37%)
HSVhsv(298, 47%, 48%)
CMYKcmyk(1.6%, 47.2%, 0%, 51.8%)
CIE-LABlab(36.51, 33.57, -22.82)
CIE-LCHlch(36.51, 40.59, 325.80°)
OKLaboklab(46.65% 0.0925 -0.0625)
OKLCHoklch(46.65% 0.112 325.9)
XYZxyz(13.3503, 9.2762, 19.8223)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79417B #437B41
analogous
#5C417B #79417B #7B4160
triadic
#79417B #7B7941 #417B79
tetradic
#79417B #7B5C41 #437B41 #41607B
square
#79417B #7B5C41 #437B41 #41607B
split-complementary
#79417B #607B41 #417B5C
monochromatic
#2A172B #522C53 #79417B #A056A3 #B87CBA

Accessibility & contrast

On white

7.36
#79417B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#79417B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79417B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79417B#FFFFFF#000000##FFFFFF
##79417B1.007.362.867.36
#FFFFFF7.361.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B517D
Deuteranopia (green-blind)
#4B5879
Tritanopia (blue-blind)
#7C4758
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #79417b;
/* rgb */ color: rgb(121, 65, 123);
/* oklch */ color: oklch(46.6% 0.112 325.9);
Tailwind
colors: {
  custom: {
    50: '#a177a1',
    500: '#79417b',
    950: '#000000',
  },
}
SCSS
$custom: #79417b;
$custom-light: #a177a1;
$custom-dark: #000000;
JSON
{
  "hex": "#79417b",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 123
  },
  "hsl": {
    "h": 297.931,
    "s": 30.851,
    "l": 36.863
  },
  "oklch": {
    "l": 0.46645,
    "c": 0.11163,
    "h": 325.9
  },
  "luminance": 0.09276
}

Semantic roles & 50–950 ramp

primary
#79417B
secondary
#75A573
accent
#C76164
background
#FAF7F9
surface
#F3EDF2
border
#CDC8CC
text
#0F090F
muted
#7F7B7E

Preview Lab

Preview with #79417B

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

Preview Lab → · Contrast checker → · Palette generator →

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