#79417E#79417E

#79417E is a mid, moderate purple. Relative luminance 0.094; OKLCH L 46.8% C 0.115 H 324.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#79417E
RGBrgb(121, 65, 126)
HSLhsl(295, 32%, 37%)
HSVhsv(295, 48%, 49%)
CMYKcmyk(4%, 48.4%, 0%, 50.6%)
CIE-LABlab(36.65, 34.18, -24.45)
CIE-LCHlch(36.65, 42.03, 324.42°)
OKLaboklab(46.8% 0.093 -0.0672)
OKLCHoklch(46.8% 0.115 324.1)
XYZxyz(13.5410, 9.3525, 20.8266)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79417E #467E41
analogous
#5B417E #79417E #7E4164
triadic
#79417E #7E7941 #417E79
tetradic
#79417E #7E5B41 #467E41 #41647E
square
#79417E #7E5B41 #467E41 #41647E
split-complementary
#79417E #647E41 #417E5B
monochromatic
#2B172D #522C56 #79417E #A056A6 #B77DBC

Accessibility & contrast

On white

7.32
#79417E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79417E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79417E#FFFFFF#000000##FFFFFF
##79417E1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79417e;
/* rgb */ color: rgb(121, 65, 126);
/* oklch */ color: oklch(46.8% 0.115 324.1);
Tailwind
colors: {
  custom: {
    50: '#a178a3',
    500: '#79417e',
    950: '#000000',
  },
}
SCSS
$custom: #79417e;
$custom-light: #a178a3;
$custom-dark: #000000;
JSON
{
  "hex": "#79417e",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 126
  },
  "hsl": {
    "h": 295.082,
    "s": 31.937,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46799,
    "c": 0.11478,
    "h": 324.1
  },
  "luminance": 0.09352
}

Semantic roles & 50–950 ramp

primary
#79417E
secondary
#78A774
accent
#C86068
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F090F
muted
#7F7B7F

Preview Lab

Preview with #79417E

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

Preview Lab → · Contrast checker → · Palette generator →

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