#794A8A#794A8A

#794A8A is a mid, moderate purple. Relative luminance 0.108; OKLCH L 48.9% C 0.112 H 316.6°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#794A8A
RGBrgb(121, 74, 138)
HSLhsl(284, 30%, 42%)
HSVhsv(284, 46%, 54%)
CMYKcmyk(12.3%, 46.4%, 0%, 45.9%)
CIE-LABlab(39.24, 31.63, -27.78)
CIE-LCHlch(39.24, 42.10, 318.71°)
OKLaboklab(48.92% 0.0813 -0.0769)
OKLCHoklch(48.92% 0.112 316.6)
XYZxyz(14.9207, 10.7979, 25.3381)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794A8A #5B8A4A
analogous
#594A8A #794A8A #8A4A7B
triadic
#794A8A #8A794A #4A8A79
tetradic
#794A8A #8A594A #5B8A4A #4A7B8A
square
#794A8A #8A594A #5B8A4A #4A7B8A
split-complementary
#794A8A #7B8A4A #4A8A59
monochromatic
#331F3A #563562 #794A8A #9965AC #B48DC2

Accessibility & contrast

On white

6.65
#794A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#794A8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794A8A
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794A8A#FFFFFF#000000##FFFFFF
##794A8A1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F598C
Deuteranopia (green-blind)
#4B5E88
Tritanopia (blue-blind)
#785363
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #794a8a;
/* rgb */ color: rgb(121, 74, 138);
/* oklch */ color: oklch(48.9% 0.112 316.6);
Tailwind
colors: {
  custom: {
    50: '#a17eac',
    500: '#794a8a',
    950: '#000000',
  },
}
SCSS
$custom: #794a8a;
$custom-light: #a17eac;
$custom-dark: #000000;
JSON
{
  "hex": "#794a8a",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 284.063,
    "s": 30.189,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48915,
    "c": 0.11187,
    "h": 316.6
  },
  "luminance": 0.10797
}

Semantic roles & 50–950 ramp

primary
#794A8A
secondary
#8EAE82
accent
#C6617C
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #794A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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