#79339C#79339C

#79339C is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.169 H 312.3°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#79339C
RGBrgb(121, 51, 156)
HSLhsl(280, 51%, 41%)
HSVhsv(280, 67%, 61%)
CMYKcmyk(22.4%, 67.3%, 0%, 38.8%)
CIE-LABlab(35.66, 47.94, -44.39)
CIE-LCHlch(35.66, 65.33, 317.20°)
OKLaboklab(46.63% 0.114 -0.1251)
OKLCHoklch(46.63% 0.169 312.3)
XYZxyz(15.0687, 8.8333, 32.3573)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79339C #569C33
analogous
#44339C #79339C #9C338A
triadic
#79339C #9C7933 #339C79
tetradic
#79339C #9C4433 #569C33 #338A9C
square
#79339C #9C4433 #569C33 #338A9C
split-complementary
#79339C #8A9C33 #339C44
monochromatic
#311540 #55246E #79339C #9B49C3 #B477D3

Accessibility & contrast

On white

7.59
#79339C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#79339C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79339C
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79339C#FFFFFF#000000##FFFFFF
##79339C1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#2A559A
Tritanopia (blue-blind)
#754863
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #79339c;
/* rgb */ color: rgb(121, 51, 156);
/* oklch */ color: oklch(46.6% 0.169 312.3);
Tailwind
colors: {
  custom: {
    50: '#a370ba',
    500: '#79339c',
    950: '#000000',
  },
}
SCSS
$custom: #79339c;
$custom-light: #a370ba;
$custom-dark: #000000;
JSON
{
  "hex": "#79339c",
  "rgb": {
    "r": 121,
    "g": 51,
    "b": 156
  },
  "hsl": {
    "h": 280,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46626,
    "c": 0.16924,
    "h": 312.3
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#79339C
secondary
#89BB70
accent
#DA4E7C
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #79339C

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

Preview Lab → · Contrast checker → · Palette generator →

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