#79309F#79309F

#79309F is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.5% C 0.176 H 311.6°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#79309F
RGBrgb(121, 48, 159)
HSLhsl(279, 54%, 41%)
HSVhsv(279, 70%, 62%)
CMYKcmyk(23.9%, 69.8%, 0%, 37.6%)
CIE-LABlab(35.37, 49.99, -46.68)
CIE-LCHlch(35.37, 68.40, 316.96°)
OKLaboklab(46.48% 0.1171 -0.1318)
OKLCHoklch(46.48% 0.176 311.6)
XYZxyz(15.1990, 8.6824, 33.6694)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79309F #569F30
analogous
#41309F #79309F #9F308D
triadic
#79309F #9F7930 #309F79
tetradic
#79309F #9F4130 #569F30 #308D9F
square
#79309F #9F4130 #569F30 #308D9F
split-complementary
#79309F #8D9F30 #309F41
monochromatic
#311441 #552270 #79309F #9B45C7 #B474D5

Accessibility & contrast

On white

7.67
#79309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#79309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79309F
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79309F#FFFFFF#000000##FFFFFF
##79309F1.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)
#0050A2
Deuteranopia (green-blind)
#23559D
Tritanopia (blue-blind)
#744764
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #79309f;
/* rgb */ color: rgb(121, 48, 159);
/* oklch */ color: oklch(46.5% 0.176 311.6);
Tailwind
colors: {
  custom: {
    50: '#a36ebc',
    500: '#79309f',
    950: '#000000',
  },
}
SCSS
$custom: #79309f;
$custom-light: #a36ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#79309f",
  "rgb": {
    "r": 121,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 279.459,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46479,
    "c": 0.17634,
    "h": 311.6
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#79309F
secondary
#89BD6E
accent
#DD4B7D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #79309F

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

Preview Lab → · Contrast checker → · Palette generator →

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