#79217A#79217A

#79217A is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.4% C 0.161 H 327.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#79217A
RGBrgb(121, 33, 122)
HSLhsl(299, 57%, 30%)
HSVhsv(299, 73%, 48%)
CMYKcmyk(0.8%, 73%, 0%, 52.2%)
CIE-LABlab(30.78, 48.79, -31.20)
CIE-LCHlch(30.78, 57.91, 327.40°)
OKLaboklab(42.44% 0.1356 -0.0864)
OKLCHoklch(42.44% 0.161 327.5)
XYZxyz(11.9417, 6.5586, 19.0456)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79217A #227A21
analogous
#4C217A #79217A #7A214E
triadic
#79217A #7A7921 #217A79
tetradic
#79217A #7A4C21 #227A21 #214E7A
square
#79217A #7A4C21 #227A21 #214E7A
split-complementary
#79217A #4E7A21 #217A4C
monochromatic
#19071A #49144A #79217A #A92EAA #CC48CD

Accessibility & contrast

On white

9.08
#79217A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#79217A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79217A
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79217A#FFFFFF#000000##FFFFFF
##79217A1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10417C
Deuteranopia (green-blind)
#384C78
Tritanopia (blue-blind)
#7D2F4B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #79217a;
/* rgb */ color: rgb(121, 33, 122);
/* oklch */ color: oklch(42.4% 0.161 327.5);
Tailwind
colors: {
  custom: {
    50: '#a366a1',
    500: '#79217a',
    950: '#000000',
  },
}
SCSS
$custom: #79217a;
$custom-light: #a366a1;
$custom-dark: #000000;
JSON
{
  "hex": "#79217a",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 122
  },
  "hsl": {
    "h": 299.326,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42437,
    "c": 0.16079,
    "h": 327.5
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

primary
#79217A
secondary
#4BAD4A
accent
#E14749
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #79217A

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

Preview Lab → · Contrast checker → · Palette generator →

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