#79279D#79279D

#79279D is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.185 H 313.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#79279D
RGBrgb(121, 39, 157)
HSLhsl(282, 60%, 38%)
HSVhsv(282, 75%, 62%)
CMYKcmyk(22.9%, 75.2%, 0%, 38.4%)
CIE-LABlab(33.88, 53.36, -47.87)
CIE-LCHlch(33.88, 71.68, 318.10°)
OKLaboklab(45.38% 0.1267 -0.1352)
OKLCHoklch(45.38% 0.185 313.1)
XYZxyz(14.6954, 7.9508, 32.6523)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79279D #4B9D27
analogous
#3E279D #79279D #9D2786
triadic
#79279D #9D7927 #279D79
tetradic
#79279D #9D3E27 #4B9D27 #27869D
square
#79279D #9D3E27 #4B9D27 #27869D
split-complementary
#79279D #869D27 #279D3E
monochromatic
#2D0F3B #531B6C #79279D #9E35CD #B666D9

Accessibility & contrast

On white

8.11
#79279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#79279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79279D
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79279D#FFFFFF#000000##FFFFFF
##79279D1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#1B519A
Tritanopia (blue-blind)
#754160
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #79279d;
/* rgb */ color: rgb(121, 39, 157);
/* oklch */ color: oklch(45.4% 0.185 313.1);
Tailwind
colors: {
  custom: {
    50: '#a46abb',
    500: '#79279d',
    950: '#000000',
  },
}
SCSS
$custom: #79279d;
$custom-light: #a46abb;
$custom-dark: #000000;
JSON
{
  "hex": "#79279d",
  "rgb": {
    "r": 121,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 281.695,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45377,
    "c": 0.18535,
    "h": 313.1
  },
  "luminance": 0.0795
}

Semantic roles & 50–950 ramp

primary
#79279D
secondary
#7EBF61
accent
#E34475
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #79279D

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

Preview Lab → · Contrast checker → · Palette generator →

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