#794D8D#794D8D

#794D8D is a mid, moderate purple. Relative luminance 0.113; OKLCH L 49.6% C 0.110 H 314.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#794D8D
RGBrgb(121, 77, 141)
HSLhsl(281, 29%, 43%)
HSVhsv(281, 45%, 55%)
CMYKcmyk(14.2%, 45.4%, 0%, 44.7%)
CIE-LABlab(40.07, 30.56, -28.29)
CIE-LCHlch(40.07, 41.65, 317.21°)
OKLaboklab(49.59% 0.0772 -0.0784)
OKLCHoklch(49.59% 0.11 314.6)
XYZxyz(15.3460, 11.2962, 26.5661)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794D8D #618D4D
analogous
#594D8D #794D8D #8D4D81
triadic
#794D8D #8D794D #4D8D79
tetradic
#794D8D #8D594D #618D4D #4D818D
square
#794D8D #8D594D #618D4D #4D818D
split-complementary
#794D8D #818D4D #4D8D59
monochromatic
#35223E #573765 #794D8D #986AAD #B491C3

Accessibility & contrast

On white

6.44
#794D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#794D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794D8D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794D8D#FFFFFF#000000##FFFFFF
##794D8D1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415C8F
Deuteranopia (green-blind)
#4D608B
Tritanopia (blue-blind)
#785666
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #794d8d;
/* rgb */ color: rgb(121, 77, 141);
/* oklch */ color: oklch(49.6% 0.110 314.6);
Tailwind
colors: {
  custom: {
    50: '#a180ae',
    500: '#794d8d',
    950: '#000000',
  },
}
SCSS
$custom: #794d8d;
$custom-light: #a180ae;
$custom-dark: #000000;
JSON
{
  "hex": "#794d8d",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 281.25,
    "s": 29.358,
    "l": 42.745
  },
  "oklch": {
    "l": 0.49589,
    "c": 0.11001,
    "h": 314.6
  },
  "luminance": 0.11296
}

Semantic roles & 50–950 ramp

primary
#794D8D
secondary
#93AF86
accent
#C66281
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #794D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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