#79549D#79549D

#79549D is a mid, moderate violet. Relative luminance 0.128; OKLCH L 51.7% C 0.118 H 306.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#79549D
RGBrgb(121, 84, 157)
HSLhsl(270, 30%, 47%)
HSVhsv(270, 46%, 62%)
CMYKcmyk(22.9%, 46.5%, 0%, 38.4%)
CIE-LABlab(42.52, 30.24, -34.08)
CIE-LCHlch(42.52, 45.56, 311.59°)
OKLaboklab(51.69% 0.0693 -0.0951)
OKLCHoklch(51.69% 0.118 306.1)
XYZxyz(17.1400, 12.8400, 33.4672)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79549D #789D54
analogous
#55549D #79549D #9D549C
triadic
#79549D #9D7954 #549D79
tetradic
#79549D #9D5554 #789D54 #549C9D
square
#79549D #9D5554 #789D54 #549C9D
split-complementary
#79549D #9C9D54 #549D55
monochromatic
#3C294D #5A3F75 #79549D #9878B7 #B69FCC

Accessibility & contrast

On white

5.89
#79549D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#79549D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #79549D
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79549D#FFFFFF#000000##FFFFFF
##79549D1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4163A0
Deuteranopia (green-blind)
#4B659B
Tritanopia (blue-blind)
#736071
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #79549d;
/* rgb */ color: rgb(121, 84, 157);
/* oklch */ color: oklch(51.7% 0.118 306.1);
Tailwind
colors: {
  custom: {
    50: '#a185ba',
    500: '#79549d',
    950: '#000000',
  },
}
SCSS
$custom: #79549d;
$custom-light: #a185ba;
$custom-dark: #000000;
JSON
{
  "hex": "#79549d",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 157
  },
  "hsl": {
    "h": 270.411,
    "s": 30.29,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51685,
    "c": 0.11773,
    "h": 306.1
  },
  "luminance": 0.1284
}

Semantic roles & 50–950 ramp

primary
#79549D
secondary
#A6B994
accent
#C76193
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #79549D

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

Preview Lab → · Contrast checker → · Palette generator →

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