#79319D#79319D

#79319D is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.173 H 312.2°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#79319D
RGBrgb(121, 49, 157)
HSLhsl(280, 52%, 40%)
HSVhsv(280, 69%, 62%)
CMYKcmyk(22.9%, 68.8%, 0%, 38.4%)
CIE-LABlab(35.39, 49.09, -45.43)
CIE-LCHlch(35.39, 66.89, 317.22°)
OKLaboklab(46.46% 0.1162 -0.1282)
OKLCHoklch(46.46% 0.173 312.2)
XYZxyz(15.0682, 8.6963, 32.7765)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79319D #559D31
analogous
#43319D #79319D #9D318B
triadic
#79319D #9D7931 #319D79
tetradic
#79319D #9D4331 #559D31 #318B9D
square
#79319D #9D4331 #559D31 #318B9D
split-complementary
#79319D #8B9D31 #319D43
monochromatic
#311440 #55226E #79319D #9B46C5 #B475D4

Accessibility & contrast

On white

7.67
#79319D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#79319D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79319D
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79319D#FFFFFF#000000##FFFFFF
##79319D1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#26559B
Tritanopia (blue-blind)
#754763
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #79319d;
/* rgb */ color: rgb(121, 49, 157);
/* oklch */ color: oklch(46.5% 0.173 312.2);
Tailwind
colors: {
  custom: {
    50: '#a36fbb',
    500: '#79319d',
    950: '#000000',
  },
}
SCSS
$custom: #79319d;
$custom-light: #a36fbb;
$custom-dark: #000000;
JSON
{
  "hex": "#79319d",
  "rgb": {
    "r": 121,
    "g": 49,
    "b": 157
  },
  "hsl": {
    "h": 280,
    "s": 52.427,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46455,
    "c": 0.17298,
    "h": 312.2
  },
  "luminance": 0.08696
}

Semantic roles & 50–950 ramp

primary
#79319D
secondary
#88BC6E
accent
#DC4C7C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #79319D

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

Preview Lab → · Contrast checker → · Palette generator →

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