#79397B#79397B

#79397B is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.4% C 0.126 H 326.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#79397B
RGBrgb(121, 57, 123)
HSLhsl(298, 37%, 35%)
HSVhsv(298, 54%, 48%)
CMYKcmyk(1.6%, 53.7%, 0%, 51.8%)
CIE-LABlab(34.85, 37.94, -25.41)
CIE-LCHlch(34.85, 45.66, 326.19°)
OKLaboklab(45.41% 0.1047 -0.0699)
OKLCHoklch(45.41% 0.126 326.3)
XYZxyz(12.9232, 8.4220, 19.6800)
Luminance0.0842 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79397B #3B7B39
analogous
#58397B #79397B #7B395C
triadic
#79397B #7B7939 #397B79
tetradic
#79397B #7B5839 #3B7B39 #395C7B
square
#79397B #7B5839 #3B7B39 #395C7B
split-complementary
#79397B #5C7B39 #397B58
monochromatic
#271227 #502651 #79397B #A24CA5 #BB71BD

Accessibility & contrast

On white

7.82
#79397B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#79397B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79397B
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79397B#FFFFFF#000000##FFFFFF
##79397B1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7D
Deuteranopia (green-blind)
#455579
Tritanopia (blue-blind)
#7C4154
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #79397b;
/* rgb */ color: rgb(121, 57, 123);
/* oklch */ color: oklch(45.4% 0.126 326.3);
Tailwind
colors: {
  custom: {
    50: '#a272a1',
    500: '#79397b',
    950: '#000000',
  },
}
SCSS
$custom: #79397b;
$custom-light: #a272a1;
$custom-dark: #000000;
JSON
{
  "hex": "#79397b",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 298.182,
    "s": 36.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45413,
    "c": 0.12588,
    "h": 326.3
  },
  "luminance": 0.08421
}

Semantic roles & 50–950 ramp

primary
#79397B
secondary
#6BA669
accent
#CD5B5F
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F080F
muted
#7F7B7E

Preview Lab

Preview with #79397B

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

Preview Lab → · Contrast checker → · Palette generator →

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