#794F7C#794F7C

#794F7C is a mid, moderate purple. Relative luminance 0.111; OKLCH L 49.1% C 0.086 H 324.5°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#794F7C
RGBrgb(121, 79, 124)
HSLhsl(296, 22%, 40%)
HSVhsv(296, 36%, 49%)
CMYKcmyk(2.4%, 36.3%, 0%, 51.4%)
CIE-LABlab(39.77, 25.66, -18.39)
CIE-LCHlch(39.77, 31.57, 324.37°)
OKLaboklab(49.1% 0.0701 -0.0501)
OKLCHoklch(49.1% 0.086 324.5)
XYZxyz(14.3189, 11.1127, 20.4556)
Luminance0.1111 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794F7C #527C4F
analogous
#634F7C #794F7C #7C4F69
triadic
#794F7C #7C794F #4F7C79
tetradic
#794F7C #7C634F #527C4F #4F697C
square
#794F7C #7C634F #527C4F #4F697C
split-complementary
#794F7C #697C4F #4F7C63
monochromatic
#301F31 #553757 #794F7C #9C699F #B48EB7

Accessibility & contrast

On white

6.52
#794F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#794F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794F7C
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794F7C#FFFFFF#000000##FFFFFF
##794F7C1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5A7E
Deuteranopia (green-blind)
#555F7B
Tritanopia (blue-blind)
#7B5360
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #794f7c;
/* rgb */ color: rgb(121, 79, 124);
/* oklch */ color: oklch(49.1% 0.086 324.5);
Tailwind
colors: {
  custom: {
    50: '#a081a2',
    500: '#794f7c',
    950: '#000000',
  },
}
SCSS
$custom: #794f7c;
$custom-light: #a081a2;
$custom-dark: #000000;
JSON
{
  "hex": "#794f7c",
  "rgb": {
    "r": 121,
    "g": 79,
    "b": 124
  },
  "hsl": {
    "h": 296,
    "s": 22.167,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49104,
    "c": 0.08619,
    "h": 324.5
  },
  "luminance": 0.11112
}

Semantic roles & 50–950 ramp

primary
#794F7C
secondary
#85A483
accent
#BF696F
background
#F9F7F9
surface
#F2EEF2
border
#CCC9CC
text
#0F0A0F
muted
#7E7C7E

Preview Lab

Preview with #794F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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