#79279B#79279B

#79279B is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.183 H 313.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#79279B
RGBrgb(121, 39, 155)
HSLhsl(282, 60%, 38%)
HSVhsv(282, 75%, 61%)
CMYKcmyk(21.9%, 74.8%, 0%, 39.2%)
CIE-LABlab(33.74, 52.94, -46.88)
CIE-LCHlch(33.74, 70.71, 318.47°)
OKLaboklab(45.23% 0.127 -0.1324)
OKLCHoklch(45.23% 0.183 313.8)
XYZxyz(14.5261, 7.8830, 31.7604)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79279B #499B27
analogous
#3F279B #79279B #9B2783
triadic
#79279B #9B7927 #279B79
tetradic
#79279B #9B3F27 #499B27 #27839B
square
#79279B #9B3F27 #499B27 #27839B
split-complementary
#79279B #839B27 #279B3F
monochromatic
#2D0E39 #531B6A #79279B #9F33CC #B664D8

Accessibility & contrast

On white

8.15
#79279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#79279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79279B
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79279B#FFFFFF#000000##FFFFFF
##79279B1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#1E5198
Tritanopia (blue-blind)
#76415F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #79279b;
/* rgb */ color: rgb(121, 39, 155);
/* oklch */ color: oklch(45.2% 0.183 313.8);
Tailwind
colors: {
  custom: {
    50: '#a46ab9',
    500: '#79279b',
    950: '#000000',
  },
}
SCSS
$custom: #79279b;
$custom-light: #a46ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#79279b",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 282.414,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45231,
    "c": 0.18346,
    "h": 313.8
  },
  "luminance": 0.07883
}

Semantic roles & 50–950 ramp

primary
#79279B
secondary
#7BBE60
accent
#E34573
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #79279B

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

Preview Lab → · Contrast checker → · Palette generator →

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