#79519D#79519D

#79519D is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.2% C 0.123 H 306.9°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#79519D
RGBrgb(121, 81, 157)
HSLhsl(272, 32%, 47%)
HSVhsv(272, 48%, 62%)
CMYKcmyk(22.9%, 48.4%, 0%, 38.4%)
CIE-LABlab(41.82, 32.00, -35.18)
CIE-LCHlch(41.82, 47.56, 312.29°)
OKLaboklab(51.16% 0.0737 -0.0984)
OKLCHoklch(51.16% 0.123 306.9)
XYZxyz(16.9122, 12.3843, 33.3912)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79519D #759D51
analogous
#53519D #79519D #9D519B
triadic
#79519D #9D7951 #519D79
tetradic
#79519D #9D5351 #759D51 #519B9D
square
#79519D #9D5351 #759D51 #519B9D
split-complementary
#79519D #9B9D51 #519D53
monochromatic
#3B274C #5A3C75 #79519D #9774B7 #B59CCC

Accessibility & contrast

On white

6.04
#79519D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#79519D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #79519D
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79519D#FFFFFF#000000##FFFFFF
##79519D1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D61A0
Deuteranopia (green-blind)
#48639B
Tritanopia (blue-blind)
#745E6F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #79519d;
/* rgb */ color: rgb(121, 81, 157);
/* oklch */ color: oklch(51.2% 0.123 306.9);
Tailwind
colors: {
  custom: {
    50: '#a183ba',
    500: '#79519d',
    950: '#000000',
  },
}
SCSS
$custom: #79519d;
$custom-light: #a183ba;
$custom-dark: #000000;
JSON
{
  "hex": "#79519d",
  "rgb": {
    "r": 121,
    "g": 81,
    "b": 157
  },
  "hsl": {
    "h": 271.579,
    "s": 31.933,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51161,
    "c": 0.12292,
    "h": 306.9
  },
  "luminance": 0.12384
}

Semantic roles & 50–950 ramp

primary
#79519D
secondary
#A4B991
accent
#C86091
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #79519D

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

Preview Lab → · Contrast checker → · Palette generator →

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