#79289F#79289F

#79289F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.6% C 0.186 H 312.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#79289F
RGBrgb(121, 40, 159)
HSLhsl(281, 60%, 39%)
HSVhsv(281, 75%, 62%)
CMYKcmyk(23.9%, 74.8%, 0%, 37.6%)
CIE-LABlab(34.16, 53.39, -48.63)
CIE-LCHlch(34.16, 72.21, 317.67°)
OKLaboklab(45.62% 0.1255 -0.1375)
OKLCHoklch(45.62% 0.186 312.4)
XYZxyz(14.9008, 8.0862, 33.5700)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79289F #4E9F28
analogous
#3D289F #79289F #9F288A
triadic
#79289F #9F7928 #289F79
tetradic
#79289F #9F3D28 #4E9F28 #288A9F
square
#79289F #9F3D28 #4E9F28 #288A9F
split-complementary
#79289F #8A9F28 #289F3D
monochromatic
#2F0F3D #541C6E #79289F #9D37CD #B568D9

Accessibility & contrast

On white

8.02
#79289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#79289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79289F
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79289F#FFFFFF#000000##FFFFFF
##79289F1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#19529C
Tritanopia (blue-blind)
#754362
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #79289f;
/* rgb */ color: rgb(121, 40, 159);
/* oklch */ color: oklch(45.6% 0.186 312.4);
Tailwind
colors: {
  custom: {
    50: '#a46abc',
    500: '#79289f',
    950: '#000000',
  },
}
SCSS
$custom: #79289f;
$custom-light: #a46abc;
$custom-dark: #000000;
JSON
{
  "hex": "#79289f",
  "rgb": {
    "r": 121,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 280.84,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45622,
    "c": 0.18611,
    "h": 312.4
  },
  "luminance": 0.08086
}

Semantic roles & 50–950 ramp

primary
#79289F
secondary
#81BF64
accent
#E34577
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #79289F

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

Preview Lab → · Contrast checker → · Palette generator →

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