#79579D#79579D

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

Color values

HEX#79579D
RGBrgb(121, 87, 157)
HSLhsl(269, 29%, 48%)
HSVhsv(269, 45%, 62%)
CMYKcmyk(22.9%, 44.6%, 0%, 38.4%)
CIE-LABlab(43.24, 28.46, -32.95)
CIE-LCHlch(43.24, 43.54, 310.82°)
OKLaboklab(52.22% 0.0649 -0.0919)
OKLCHoklch(52.22% 0.113 305.2)
XYZxyz(17.3779, 13.3158, 33.5465)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79579D #7B9D57
analogous
#57589D #79579D #9C579D
triadic
#79579D #9D7957 #579D79
tetradic
#79579D #9D5758 #7B9D57 #579D9C
square
#79579D #9D5758 #7B9D57 #579D9C
split-complementary
#79579D #9D9C57 #589D57
monochromatic
#3C2B4E #5B4176 #79579D #987BB6 #B7A3CC

Accessibility & contrast

On white

5.73
#79579D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #79579D
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79579D#FFFFFF#000000##FFFFFF
##79579D1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4565A0
Deuteranopia (green-blind)
#4E669B
Tritanopia (blue-blind)
#736372
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #79579d;
/* rgb */ color: rgb(121, 87, 157);
/* oklch */ color: oklch(52.2% 0.113 305.2);
Tailwind
colors: {
  custom: {
    50: '#a187ba',
    500: '#79579d',
    950: '#000000',
  },
}
SCSS
$custom: #79579d;
$custom-light: #a187ba;
$custom-dark: #000000;
JSON
{
  "hex": "#79579d",
  "rgb": {
    "r": 121,
    "g": 87,
    "b": 157
  },
  "hsl": {
    "h": 269.143,
    "s": 28.689,
    "l": 47.843
  },
  "oklch": {
    "l": 0.52221,
    "c": 0.1125,
    "h": 305.2
  },
  "luminance": 0.13316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #79579D

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

Preview Lab → · Contrast checker → · Palette generator →

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