#79218C#79218C

#79218C is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.6% C 0.176 H 319.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#79218C
RGBrgb(121, 33, 140)
HSLhsl(289, 62%, 34%)
HSVhsv(289, 76%, 55%)
CMYKcmyk(13.6%, 76.4%, 0%, 45.1%)
CIE-LABlab(31.91, 52.16, -40.63)
CIE-LCHlch(31.91, 66.11, 322.08°)
OKLaboklab(43.61% 0.1347 -0.114)
OKLCHoklch(43.61% 0.176 319.8)
XYZxyz(13.1620, 7.0468, 25.4727)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79218C #348C21
analogous
#44218C #79218C #8C216A
triadic
#79218C #8C7921 #218C79
tetradic
#79218C #8C4421 #348C21 #216A8C
square
#79218C #8C4421 #348C21 #216A8C
split-complementary
#79218C #6A8C21 #218C44
monochromatic
#230A29 #4E155A #79218C #A42DBE #BE51D6

Accessibility & contrast

On white

8.72
#79218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#79218C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79218C
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79218C#FFFFFF#000000##FFFFFF
##79218C1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#2A4E8A
Tritanopia (blue-blind)
#793755
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79218c;
/* rgb */ color: rgb(121, 33, 140);
/* oklch */ color: oklch(43.6% 0.176 319.8);
Tailwind
colors: {
  custom: {
    50: '#a366ae',
    500: '#79218c',
    950: '#000000',
  },
}
SCSS
$custom: #79218c;
$custom-light: #a366ae;
$custom-dark: #000000;
JSON
{
  "hex": "#79218c",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 289.346,
    "s": 61.85,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43609,
    "c": 0.17644,
    "h": 319.8
  },
  "luminance": 0.07046
}

Semantic roles & 50–950 ramp

primary
#79218C
secondary
#62B94F
accent
#E54360
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #79218C

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

Preview Lab → · Contrast checker → · Palette generator →

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