#79218B#79218B

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

Color values

HEX#79218B
RGBrgb(121, 33, 139)
HSLhsl(290, 62%, 34%)
HSVhsv(290, 76%, 55%)
CMYKcmyk(12.9%, 76.3%, 0%, 45.5%)
CIE-LABlab(31.85, 51.96, -40.11)
CIE-LCHlch(31.85, 65.65, 322.33°)
OKLaboklab(43.54% 0.1348 -0.1125)
OKLCHoklch(43.54% 0.176 320.2)
XYZxyz(13.0886, 7.0174, 25.0862)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79218B #338B21
analogous
#44218B #79218B #8B2168
triadic
#79218B #8B7921 #218B79
tetradic
#79218B #8B4421 #338B21 #21688B
square
#79218B #8B4421 #338B21 #21688B
split-complementary
#79218B #688B21 #218B44
monochromatic
#230A28 #4E155A #79218B #A42DBC #BF51D6

Accessibility & contrast

On white

8.74
#79218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79218B
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79218B#FFFFFF#000000##FFFFFF
##79218B1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#2B4E89
Tritanopia (blue-blind)
#793655
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #79218b;
/* rgb */ color: rgb(121, 33, 139);
/* oklch */ color: oklch(43.5% 0.176 320.2);
Tailwind
colors: {
  custom: {
    50: '#a366ad',
    500: '#79218b',
    950: '#000000',
  },
}
SCSS
$custom: #79218b;
$custom-light: #a366ad;
$custom-dark: #000000;
JSON
{
  "hex": "#79218b",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 289.811,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4354,
    "c": 0.17556,
    "h": 320.2
  },
  "luminance": 0.07017
}

Semantic roles & 50–950 ramp

primary
#79218B
secondary
#61B94F
accent
#E5435F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #79218B

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

Preview Lab → · Contrast checker → · Palette generator →

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