#79418A#79418A

#79418A is a mid, vivid purple. Relative luminance 0.097; OKLCH L 47.4% C 0.128 H 317.9°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#79418A
RGBrgb(121, 65, 138)
HSLhsl(286, 36%, 40%)
HSVhsv(286, 53%, 54%)
CMYKcmyk(12.3%, 52.9%, 0%, 45.9%)
CIE-LABlab(37.26, 36.73, -30.88)
CIE-LCHlch(37.26, 47.99, 319.94°)
OKLaboklab(47.45% 0.0949 -0.0858)
OKLCHoklch(47.45% 0.128 317.9)
XYZxyz(14.3623, 9.6810, 25.1519)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79418A #528A41
analogous
#54418A #79418A #8A4177
triadic
#79418A #8A7941 #418A79
tetradic
#79418A #8A5441 #528A41 #41778A
square
#79418A #8A5441 #528A41 #41778A
split-complementary
#79418A #778A41 #418A54
monochromatic
#301A37 #552D60 #79418A #9C58B0 #B482C4

Accessibility & contrast

On white

7.15
#79418A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#79418A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79418A
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79418A#FFFFFF#000000##FFFFFF
##79418A1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#445A88
Tritanopia (blue-blind)
#794C5F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #79418a;
/* rgb */ color: rgb(121, 65, 138);
/* oklch */ color: oklch(47.4% 0.128 317.9);
Tailwind
colors: {
  custom: {
    50: '#a178ac',
    500: '#79418a',
    950: '#000000',
  },
}
SCSS
$custom: #79418a;
$custom-light: #a178ac;
$custom-dark: #000000;
JSON
{
  "hex": "#79418a",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 286.027,
    "s": 35.961,
    "l": 39.804
  },
  "oklch": {
    "l": 0.47449,
    "c": 0.12789,
    "h": 317.9
  },
  "luminance": 0.09681
}

Semantic roles & 50–950 ramp

primary
#79418A
secondary
#85AE78
accent
#CC5C76
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #79418A

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

Preview Lab → · Contrast checker → · Palette generator →

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