#79309D#79309D

#79309D is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.174 H 312.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#79309D
RGBrgb(121, 48, 157)
HSLhsl(280, 53%, 40%)
HSVhsv(280, 69%, 62%)
CMYKcmyk(22.9%, 69.4%, 0%, 38.4%)
CIE-LABlab(35.23, 49.55, -45.69)
CIE-LCHlch(35.23, 67.40, 317.32°)
OKLaboklab(46.34% 0.1173 -0.1289)
OKLCHoklch(46.34% 0.174 312.3)
XYZxyz(15.0268, 8.6136, 32.7628)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79309D #549D30
analogous
#42309D #79309D #9D308B
triadic
#79309D #9D7930 #309D79
tetradic
#79309D #9D4230 #549D30 #308B9D
square
#79309D #9D4230 #549D30 #308B9D
split-complementary
#79309D #8B9D30 #309D42
monochromatic
#31133F #55226E #79309D #9B44C6 #B473D4

Accessibility & contrast

On white

7.71
#79309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#79309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79309D
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79309D#FFFFFF#000000##FFFFFF
##79309D1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#25549B
Tritanopia (blue-blind)
#754763
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #79309d;
/* rgb */ color: rgb(121, 48, 157);
/* oklch */ color: oklch(46.3% 0.174 312.3);
Tailwind
colors: {
  custom: {
    50: '#a36ebb',
    500: '#79309d',
    950: '#000000',
  },
}
SCSS
$custom: #79309d;
$custom-light: #a36ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#79309d",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 280.183,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46338,
    "c": 0.1743,
    "h": 312.3
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#79309D
secondary
#87BC6D
accent
#DD4B7B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #79309D

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

Preview Lab → · Contrast checker → · Palette generator →

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