#79309C#79309C

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

Color values

HEX#79309C
RGBrgb(121, 48, 156)
HSLhsl(281, 53%, 40%)
HSVhsv(281, 69%, 61%)
CMYKcmyk(22.4%, 69.2%, 0%, 38.8%)
CIE-LABlab(35.16, 49.33, -45.20)
CIE-LCHlch(35.16, 66.90, 317.50°)
OKLaboklab(46.27% 0.1174 -0.1275)
OKLCHoklch(46.27% 0.173 312.6)
XYZxyz(14.9418, 8.5796, 32.3150)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79309C #539C30
analogous
#43309C #79309C #9C3089
triadic
#79309C #9C7930 #309C79
tetradic
#79309C #9C4330 #539C30 #30899C
square
#79309C #9C4330 #539C30 #30899C
split-complementary
#79309C #899C30 #309C43
monochromatic
#30133E #55226D #79309C #9B44C5 #B473D4

Accessibility & contrast

On white

7.73
#79309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #79309C
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79309C#FFFFFF#000000##FFFFFF
##79309C1.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9F
Deuteranopia (green-blind)
#27549A
Tritanopia (blue-blind)
#754662
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #79309c;
/* rgb */ color: rgb(121, 48, 156);
/* oklch */ color: oklch(46.3% 0.173 312.6);
Tailwind
colors: {
  custom: {
    50: '#a36eba',
    500: '#79309c',
    950: '#000000',
  },
}
SCSS
$custom: #79309c;
$custom-light: #a36eba;
$custom-dark: #000000;
JSON
{
  "hex": "#79309c",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 280.556,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.46268,
    "c": 0.17329,
    "h": 312.6
  },
  "luminance": 0.08579
}

Semantic roles & 50–950 ramp

primary
#79309C
secondary
#86BC6C
accent
#DC4B7A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #79309C

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

Preview Lab → · Contrast checker → · Palette generator →

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