#794C8A#794C8A

#794C8A is a mid, moderate purple. Relative luminance 0.111; OKLCH L 49.3% C 0.108 H 316.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#794C8A
RGBrgb(121, 76, 138)
HSLhsl(284, 29%, 42%)
HSVhsv(284, 45%, 54%)
CMYKcmyk(12.3%, 44.9%, 0%, 45.9%)
CIE-LABlab(39.70, 30.47, -27.06)
CIE-LCHlch(39.70, 40.75, 318.39°)
OKLaboklab(49.26% 0.0782 -0.0748)
OKLCHoklch(49.26% 0.108 316.3)
XYZxyz(15.0564, 11.0692, 25.3833)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794C8A #5D8A4C
analogous
#5A4C8A #794C8A #8A4C7C
triadic
#794C8A #8A794C #4C8A79
tetradic
#794C8A #8A5A4C #5D8A4C #4C7C8A
square
#794C8A #8A5A4C #5D8A4C #4C7C8A
split-complementary
#794C8A #7C8A4C #4C8A5A
monochromatic
#34213B #563663 #794C8A #9968AC #B48FC1

Accessibility & contrast

On white

6.53
#794C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#794C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794C8A
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794C8A#FFFFFF#000000##FFFFFF
##794C8A1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415B8C
Deuteranopia (green-blind)
#4D5F88
Tritanopia (blue-blind)
#785564
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #794c8a;
/* rgb */ color: rgb(121, 76, 138);
/* oklch */ color: oklch(49.3% 0.108 316.3);
Tailwind
colors: {
  custom: {
    50: '#a17fac',
    500: '#794c8a',
    950: '#000000',
  },
}
SCSS
$custom: #794c8a;
$custom-light: #a17fac;
$custom-dark: #000000;
JSON
{
  "hex": "#794c8a",
  "rgb": {
    "r": 121,
    "g": 76,
    "b": 138
  },
  "hsl": {
    "h": 283.548,
    "s": 28.972,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49258,
    "c": 0.10822,
    "h": 316.3
  },
  "luminance": 0.11069
}

Semantic roles & 50–950 ramp

primary
#794C8A
secondary
#90AE84
accent
#C5637E
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #794C8A

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

Preview Lab → · Contrast checker → · Palette generator →

#794C8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva