#79218E#79218E

#79218E is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.178 H 319.0°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#79218E
RGBrgb(121, 33, 142)
HSLhsl(288, 62%, 34%)
HSVhsv(288, 77%, 56%)
CMYKcmyk(14.8%, 76.8%, 0%, 44.3%)
CIE-LABlab(32.05, 52.55, -41.65)
CIE-LCHlch(32.05, 67.05, 321.60°)
OKLaboklab(43.75% 0.1345 -0.1169)
OKLCHoklch(43.75% 0.178 319)
XYZxyz(13.3109, 7.1063, 26.2565)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79218E #368E21
analogous
#42218E #79218E #8E216D
triadic
#79218E #8E7921 #218E79
tetradic
#79218E #8E4221 #368E21 #216D8E
square
#79218E #8E4221 #368E21 #216D8E
split-complementary
#79218E #6D8E21 #218E42
monochromatic
#240A2B #4F155C #79218E #A32DC0 #BD52D7

Accessibility & contrast

On white

8.67
#79218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#79218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79218E
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79218E#FFFFFF#000000##FFFFFF
##79218E1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#284E8C
Tritanopia (blue-blind)
#793856
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79218e;
/* rgb */ color: rgb(121, 33, 142);
/* oklch */ color: oklch(43.7% 0.178 319.0);
Tailwind
colors: {
  custom: {
    50: '#a366b0',
    500: '#79218e',
    950: '#000000',
  },
}
SCSS
$custom: #79218e;
$custom-light: #a366b0;
$custom-dark: #000000;
JSON
{
  "hex": "#79218e",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 288.44,
    "s": 62.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43747,
    "c": 0.17822,
    "h": 319
  },
  "luminance": 0.07106
}

Semantic roles & 50–950 ramp

primary
#79218E
secondary
#65BA50
accent
#E54262
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #79218E

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

Preview Lab → · Contrast checker → · Palette generator →

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