#79289B#79289B

#79289B is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.182 H 313.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#79289B
RGBrgb(121, 40, 155)
HSLhsl(282, 59%, 38%)
HSVhsv(282, 74%, 61%)
CMYKcmyk(21.9%, 74.2%, 0%, 39.2%)
CIE-LABlab(33.88, 52.54, -46.66)
CIE-LCHlch(33.88, 70.27, 318.39°)
OKLaboklab(45.33% 0.126 -0.1317)
OKLCHoklch(45.33% 0.182 313.7)
XYZxyz(14.5593, 7.9496, 31.7715)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79289B #4A9B28
analogous
#3F289B #79289B #9B2883
triadic
#79289B #9B7928 #289B79
tetradic
#79289B #9B3F28 #4A9B28 #28839B
square
#79289B #9B3F28 #4A9B28 #28839B
split-complementary
#79289B #839B28 #289B3F
monochromatic
#2D0F3A #531B6A #79289B #9F35CB #B666D7

Accessibility & contrast

On white

8.11
#79289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#79289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79289B
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79289B#FFFFFF#000000##FFFFFF
##79289B1.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)
#004B9E
Deuteranopia (green-blind)
#1F5298
Tritanopia (blue-blind)
#76415F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #79289b;
/* rgb */ color: rgb(121, 40, 155);
/* oklch */ color: oklch(45.3% 0.182 313.7);
Tailwind
colors: {
  custom: {
    50: '#a46ab9',
    500: '#79289b',
    950: '#000000',
  },
}
SCSS
$custom: #79289b;
$custom-light: #a46ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#79289b",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 282.261,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4533,
    "c": 0.18229,
    "h": 313.7
  },
  "luminance": 0.07949
}

Semantic roles & 50–950 ramp

primary
#79289B
secondary
#7DBD61
accent
#E24674
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #79289B

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

Preview Lab → · Contrast checker → · Palette generator →

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