#79217E#79217E

#79217E is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.164 H 325.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#79217E
RGBrgb(121, 33, 126)
HSLhsl(297, 58%, 31%)
HSVhsv(297, 74%, 49%)
CMYKcmyk(4%, 73.8%, 0%, 50.6%)
CIE-LABlab(31.02, 49.51, -33.33)
CIE-LCHlch(31.02, 59.69, 326.05°)
OKLaboklab(42.69% 0.1356 -0.0927)
OKLCHoklch(42.69% 0.164 325.6)
XYZxyz(12.1946, 6.6598, 20.3778)
Luminance0.0666 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79217E #267E21
analogous
#4A217E #79217E #7E2154
triadic
#79217E #7E7921 #217E79
tetradic
#79217E #7E4A21 #267E21 #21547E
square
#79217E #7E4A21 #267E21 #21547E
split-complementary
#79217E #547E21 #217E4A
monochromatic
#1C081D #4A144E #79217E #A82EAE #C84AD0

Accessibility & contrast

On white

9.01
#79217E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#79217E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79217E
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79217E#FFFFFF#000000##FFFFFF
##79217E1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084281
Deuteranopia (green-blind)
#354D7C
Tritanopia (blue-blind)
#7C304D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #79217e;
/* rgb */ color: rgb(121, 33, 126);
/* oklch */ color: oklch(42.7% 0.164 325.6);
Tailwind
colors: {
  custom: {
    50: '#a366a4',
    500: '#79217e',
    950: '#000000',
  },
}
SCSS
$custom: #79217e;
$custom-light: #a366a4;
$custom-dark: #000000;
JSON
{
  "hex": "#79217e",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 126
  },
  "hsl": {
    "h": 296.774,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42685,
    "c": 0.1642,
    "h": 325.6
  },
  "luminance": 0.06659
}

Semantic roles & 50–950 ramp

primary
#79217E
secondary
#50B14A
accent
#E2464E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #79217E

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

Preview Lab → · Contrast checker → · Palette generator →

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