#79228C#79228C

#79228C is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.175 H 319.7°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#79228C
RGBrgb(121, 34, 140)
HSLhsl(289, 61%, 34%)
HSVhsv(289, 76%, 55%)
CMYKcmyk(13.6%, 75.7%, 0%, 45.1%)
CIE-LABlab(32.04, 51.79, -40.42)
CIE-LCHlch(32.04, 65.70, 322.03°)
OKLaboklab(43.7% 0.1337 -0.1134)
OKLCHoklch(43.7% 0.175 319.7)
XYZxyz(13.1902, 7.1031, 25.4821)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79228C #358C22
analogous
#44228C #79228C #8C226A
triadic
#79228C #8C7922 #228C79
tetradic
#79228C #8C4422 #358C22 #226A8C
square
#79228C #8C4422 #358C22 #226A8C
split-complementary
#79228C #6A8C22 #228C44
monochromatic
#240A2A #4E165B #79228C #A42EBD #BE53D5

Accessibility & contrast

On white

8.68
#79228C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#79228C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79228C
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79228C#FFFFFF#000000##FFFFFF
##79228C1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #79228c;
/* rgb */ color: rgb(121, 34, 140);
/* oklch */ color: oklch(43.7% 0.175 319.7);
Tailwind
colors: {
  custom: {
    50: '#a367ae',
    500: '#79228c',
    950: '#000000',
  },
}
SCSS
$custom: #79228c;
$custom-light: #a367ae;
$custom-dark: #000000;
JSON
{
  "hex": "#79228c",
  "rgb": {
    "r": 121,
    "g": 34,
    "b": 140
  },
  "hsl": {
    "h": 289.245,
    "s": 60.92,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43699,
    "c": 0.17533,
    "h": 319.7
  },
  "luminance": 0.07102
}

Semantic roles & 50–950 ramp

primary
#79228C
secondary
#63B951
accent
#E44460
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #79228C

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

Preview Lab → · Contrast checker → · Palette generator →

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