#794D8A#794D8A

#794D8A is a mid, moderate purple. Relative luminance 0.112; OKLCH L 49.4% C 0.106 H 316.1°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#794D8A
RGBrgb(121, 77, 138)
HSLhsl(283, 28%, 42%)
HSVhsv(283, 44%, 54%)
CMYKcmyk(12.3%, 44.2%, 0%, 45.9%)
CIE-LABlab(39.93, 29.88, -26.70)
CIE-LCHlch(39.93, 40.07, 318.22°)
OKLaboklab(49.43% 0.0766 -0.0738)
OKLCHoklch(49.43% 0.106 316.1)
XYZxyz(15.1258, 11.2081, 25.4064)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794D8A #5E8A4D
analogous
#5B4D8A #794D8A #8A4D7D
triadic
#794D8A #8A794D #4D8A79
tetradic
#794D8A #8A5B4D #5E8A4D #4D7D8A
square
#794D8A #8A5B4D #5E8A4D #4D7D8A
split-complementary
#794D8A #7D8A4D #4D8A5B
monochromatic
#34213B #573763 #794D8A #9969AB #B490C1

Accessibility & contrast

On white

6.48
#794D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#794D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794D8A
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794D8A#FFFFFF#000000##FFFFFF
##794D8A1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425B8C
Deuteranopia (green-blind)
#4E5F88
Tritanopia (blue-blind)
#785565
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #794d8a;
/* rgb */ color: rgb(121, 77, 138);
/* oklch */ color: oklch(49.4% 0.106 316.1);
Tailwind
colors: {
  custom: {
    50: '#a180ac',
    500: '#794d8a',
    950: '#000000',
  },
}
SCSS
$custom: #794d8a;
$custom-light: #a180ac;
$custom-dark: #000000;
JSON
{
  "hex": "#794d8a",
  "rgb": {
    "r": 121,
    "g": 77,
    "b": 138
  },
  "hsl": {
    "h": 283.279,
    "s": 28.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49432,
    "c": 0.10638,
    "h": 316.1
  },
  "luminance": 0.11208
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #794D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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