#79579C#79579C

#79579C is a mid, moderate violet. Relative luminance 0.133; OKLCH L 52.2% C 0.111 H 305.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#79579C
RGBrgb(121, 87, 156)
HSLhsl(270, 28%, 48%)
HSVhsv(270, 44%, 61%)
CMYKcmyk(22.4%, 44.2%, 0%, 38.8%)
CIE-LABlab(43.18, 28.22, -32.43)
CIE-LCHlch(43.18, 42.99, 311.02°)
OKLaboklab(52.17% 0.0647 -0.0904)
OKLCHoklch(52.17% 0.111 305.6)
XYZxyz(17.2929, 13.2817, 33.0987)
Luminance0.1328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79579C #7A9C57
analogous
#57589C #79579C #9B579C
triadic
#79579C #9C7957 #579C79
tetradic
#79579C #9C5758 #7A9C57 #579C9B
square
#79579C #9C5758 #7A9C57 #579C9B
split-complementary
#79579C #9C9B57 #589C57
monochromatic
#3C2B4D #5B4175 #79579C #987BB5 #B6A2CB

Accessibility & contrast

On white

5.74
#79579C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#79579C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #79579C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79579C#FFFFFF#000000##FFFFFF
##79579C1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46659F
Deuteranopia (green-blind)
#4E669A
Tritanopia (blue-blind)
#746272
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #79579c;
/* rgb */ color: rgb(121, 87, 156);
/* oklch */ color: oklch(52.2% 0.111 305.6);
Tailwind
colors: {
  custom: {
    50: '#a187b9',
    500: '#79579c',
    950: '#000000',
  },
}
SCSS
$custom: #79579c;
$custom-light: #a187b9;
$custom-dark: #000000;
JSON
{
  "hex": "#79579c",
  "rgb": {
    "r": 121,
    "g": 87,
    "b": 156
  },
  "hsl": {
    "h": 269.565,
    "s": 28.395,
    "l": 47.647
  },
  "oklch": {
    "l": 0.52166,
    "c": 0.11118,
    "h": 305.6
  },
  "luminance": 0.13282
}

Semantic roles & 50–950 ramp

primary
#79579C
secondary
#A8B996
accent
#C56395
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #79579C

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

Preview Lab → · Contrast checker → · Palette generator →

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