#79218A#79218A

#79218A is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.5% C 0.175 H 320.6°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#79218A
RGBrgb(121, 33, 138)
HSLhsl(290, 61%, 34%)
HSVhsv(290, 76%, 54%)
CMYKcmyk(12.3%, 76.1%, 0%, 45.9%)
CIE-LABlab(31.78, 51.77, -39.60)
CIE-LCHlch(31.78, 65.18, 322.59°)
OKLaboklab(43.47% 0.1349 -0.111)
OKLCHoklch(43.47% 0.175 320.6)
XYZxyz(13.0159, 6.9883, 24.7031)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79218A #328A21
analogous
#44218A #79218A #8A2166
triadic
#79218A #8A7921 #218A79
tetradic
#79218A #8A4421 #328A21 #21668A
square
#79218A #8A4421 #328A21 #21668A
split-complementary
#79218A #668A21 #218A44
monochromatic
#220927 #4E1559 #79218A #A42DBB #C050D5

Accessibility & contrast

On white

8.76
#79218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#79218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79218A
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79218A#FFFFFF#000000##FFFFFF
##79218A1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#2C4E88
Tritanopia (blue-blind)
#7A3654
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79218a;
/* rgb */ color: rgb(121, 33, 138);
/* oklch */ color: oklch(43.5% 0.175 320.6);
Tailwind
colors: {
  custom: {
    50: '#a366ad',
    500: '#79218a',
    950: '#000000',
  },
}
SCSS
$custom: #79218a;
$custom-light: #a366ad;
$custom-dark: #000000;
JSON
{
  "hex": "#79218a",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 290.286,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43472,
    "c": 0.17466,
    "h": 320.6
  },
  "luminance": 0.06988
}

Semantic roles & 50–950 ramp

primary
#79218A
secondary
#5FB94E
accent
#E5435D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #79218A

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

Preview Lab → · Contrast checker → · Palette generator →

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