#79399D#79399D

#79399D is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.162 H 311.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#79399D
RGBrgb(121, 57, 157)
HSLhsl(278, 47%, 42%)
HSVhsv(278, 64%, 62%)
CMYKcmyk(22.9%, 63.7%, 0%, 38.4%)
CIE-LABlab(36.79, 45.23, -43.18)
CIE-LCHlch(36.79, 62.53, 316.32°)
OKLaboklab(47.46% 0.1066 -0.1216)
OKLCHoklch(47.46% 0.162 311.2)
XYZxyz(15.4330, 9.4259, 32.8981)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79399D #5D9D39
analogous
#47399D #79399D #9D398F
triadic
#79399D #9D7939 #399D79
tetradic
#79399D #9D4739 #5D9D39 #398F9D
square
#79399D #9D4739 #5D9D39 #398F9D
split-complementary
#79399D #8F9D39 #399D47
monochromatic
#341843 #562970 #79399D #9953C0 #B480D1

Accessibility & contrast

On white

7.28
#79399D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#79399D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #79399D
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79399D#FFFFFF#000000##FFFFFF
##79399D1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A53A0
Deuteranopia (green-blind)
#2F589B
Tritanopia (blue-blind)
#754C66
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #79399d;
/* rgb */ color: rgb(121, 57, 157);
/* oklch */ color: oklch(47.5% 0.162 311.2);
Tailwind
colors: {
  custom: {
    50: '#a373ba',
    500: '#79399d',
    950: '#000000',
  },
}
SCSS
$custom: #79399d;
$custom-light: #a373ba;
$custom-dark: #000000;
JSON
{
  "hex": "#79399d",
  "rgb": {
    "r": 121,
    "g": 57,
    "b": 157
  },
  "hsl": {
    "h": 278.4,
    "s": 46.729,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47462,
    "c": 0.16174,
    "h": 311.2
  },
  "luminance": 0.09426
}

Semantic roles & 50–950 ramp

primary
#79399D
secondary
#90BA78
accent
#D65181
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0812
muted
#7F7B81

Preview Lab

Preview with #79399D

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

Preview Lab → · Contrast checker → · Palette generator →

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