#794E8A#794E8A

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

Color values

HEX#794E8A
RGBrgb(121, 78, 138)
HSLhsl(283, 28%, 42%)
HSVhsv(283, 43%, 54%)
CMYKcmyk(12.3%, 43.5%, 0%, 45.9%)
CIE-LABlab(40.16, 29.30, -26.33)
CIE-LCHlch(40.16, 39.39, 318.05°)
OKLaboklab(49.61% 0.0751 -0.0727)
OKLCHoklch(49.61% 0.105 315.9)
XYZxyz(15.1963, 11.3491, 25.4299)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794E8A #5F8A4E
analogous
#5B4E8A #794E8A #8A4E7D
triadic
#794E8A #8A794E #4E8A79
tetradic
#794E8A #8A5B4E #5F8A4E #4E7D8A
square
#794E8A #8A5B4E #5F8A4E #4E7D8A
split-complementary
#794E8A #7D8A4E #4E8A5B
monochromatic
#34223C #573863 #794E8A #996AAB #B491C1

Accessibility & contrast

On white

6.42
#794E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#794E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #794E8A
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794E8A#FFFFFF#000000##FFFFFF
##794E8A1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445C8C
Deuteranopia (green-blind)
#4F6088
Tritanopia (blue-blind)
#785665
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #794e8a;
/* rgb */ color: rgb(121, 78, 138);
/* oklch */ color: oklch(49.6% 0.105 315.9);
Tailwind
colors: {
  custom: {
    50: '#a180ac',
    500: '#794e8a',
    950: '#000000',
  },
}
SCSS
$custom: #794e8a;
$custom-light: #a180ac;
$custom-dark: #000000;
JSON
{
  "hex": "#794e8a",
  "rgb": {
    "r": 121,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 283,
    "s": 27.778,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49607,
    "c": 0.10454,
    "h": 315.9
  },
  "luminance": 0.11349
}

Semantic roles & 50–950 ramp

primary
#794E8A
secondary
#91AE86
accent
#C4647F
background
#FAF7FA
surface
#F3EEF4
border
#CDC9CE
text
#0F0A10
muted
#7F7C7F

Preview Lab

Preview with #794E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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