#79549C#79549C

#79549C is a mid, moderate violet. Relative luminance 0.128; OKLCH L 51.6% C 0.116 H 306.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#79549C
RGBrgb(121, 84, 156)
HSLhsl(271, 30%, 47%)
HSVhsv(271, 46%, 61%)
CMYKcmyk(22.4%, 46.2%, 0%, 38.8%)
CIE-LABlab(42.47, 29.99, -33.56)
CIE-LCHlch(42.47, 45.01, 311.79°)
OKLaboklab(51.63% 0.0692 -0.0936)
OKLCHoklch(51.63% 0.116 306.5)
XYZxyz(17.0550, 12.8060, 33.0194)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#79549C #779C54
analogous
#55549C #79549C #9C549B
triadic
#79549C #9C7954 #549C79
tetradic
#79549C #9C5554 #779C54 #549B9C
square
#79549C #9C5554 #779C54 #549B9C
split-complementary
#79549C #9B9C54 #549C55
monochromatic
#3B294C #5A3F74 #79549C #9777B6 #B69FCB

Accessibility & contrast

On white

5.90
#79549C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#79549C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #79549C
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##79549C#FFFFFF#000000##FFFFFF
##79549C1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42639F
Deuteranopia (green-blind)
#4B659A
Tritanopia (blue-blind)
#746070
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #79549c;
/* rgb */ color: rgb(121, 84, 156);
/* oklch */ color: oklch(51.6% 0.116 306.5);
Tailwind
colors: {
  custom: {
    50: '#a185b9',
    500: '#79549c',
    950: '#000000',
  },
}
SCSS
$custom: #79549c;
$custom-light: #a185b9;
$custom-dark: #000000;
JSON
{
  "hex": "#79549c",
  "rgb": {
    "r": 121,
    "g": 84,
    "b": 156
  },
  "hsl": {
    "h": 270.833,
    "s": 30,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51629,
    "c": 0.11643,
    "h": 306.5
  },
  "luminance": 0.12806
}

Semantic roles & 50–950 ramp

primary
#79549C
secondary
#A5B993
accent
#C66293
background
#FAF8FB
surface
#F3EFF6
border
#CDCAD0
text
#0F0B11
muted
#7F7C80

Preview Lab

Preview with #79549C

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

Preview Lab → · Contrast checker → · Palette generator →

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