#794A7B#794A7B

#794A7B is a mid, moderate purple. Relative luminance 0.104; OKLCH L 48.2% C 0.095 H 325.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#794A7B
RGBrgb(121, 74, 123)
HSLhsl(298, 25%, 39%)
HSVhsv(298, 40%, 48%)
CMYKcmyk(1.6%, 39.8%, 0%, 51.8%)
CIE-LABlab(38.54, 28.40, -19.67)
CIE-LCHlch(38.54, 34.55, 325.29°)
OKLaboklab(48.16% 0.0781 -0.0537)
OKLCHoklch(48.16% 0.095 325.5)
XYZxyz(13.9088, 10.3931, 20.0085)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794A7B #4C7B4A
analogous
#604A7B #794A7B #7B4A64
triadic
#794A7B #7B794A #4A7B79
tetradic
#794A7B #7B604A #4C7B4A #4A647B
square
#794A7B #7B604A #4C7B4A #4A647B
split-complementary
#794A7B #647B4A #4A7B60
monochromatic
#2E1C2F #533355 #794A7B #9E62A0 #B588B7

Accessibility & contrast

On white

6.82
#794A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#794A7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794A7B
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794A7B#FFFFFF#000000##FFFFFF
##794A7B1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46577D
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#7B4F5D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #794a7b;
/* rgb */ color: rgb(121, 74, 123);
/* oklch */ color: oklch(48.2% 0.095 325.5);
Tailwind
colors: {
  custom: {
    50: '#a17da1',
    500: '#794a7b',
    950: '#000000',
  },
}
SCSS
$custom: #794a7b;
$custom-light: #a17da1;
$custom-dark: #000000;
JSON
{
  "hex": "#794a7b",
  "rgb": {
    "r": 121,
    "g": 74,
    "b": 123
  },
  "hsl": {
    "h": 297.551,
    "s": 24.873,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48162,
    "c": 0.09474,
    "h": 325.5
  },
  "luminance": 0.10393
}

Semantic roles & 50–950 ramp

primary
#794A7B
secondary
#7FA47D
accent
#C1676A
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F0A0F
muted
#7F7C7E

Preview Lab

Preview with #794A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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