#794079#794079

#794079 is a mid, moderate purple. Relative luminance 0.091; OKLCH L 46.4% C 0.111 H 327.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#794079
RGBrgb(121, 64, 121)
HSLhsl(300, 31%, 36%)
HSVhsv(300, 47%, 47%)
CMYKcmyk(0%, 47.1%, 0%, 52.5%)
CIE-LABlab(36.20, 33.73, -22.06)
CIE-LCHlch(36.20, 40.30, 326.82°)
OKLaboklab(46.38% 0.0936 -0.0604)
OKLCHoklch(46.38% 0.111 327.2)
XYZxyz(13.1695, 9.1129, 19.1507)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794079 #407940
analogous
#5D4079 #794079 #79405D
triadic
#794079 #797940 #407979
tetradic
#794079 #795D40 #407940 #405D79
square
#794079 #795D40 #407940 #405D79
split-complementary
#794079 #5D7940 #40795D
monochromatic
#291629 #512B51 #794079 #A155A1 #B97AB9

Accessibility & contrast

On white

7.44
#794079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#794079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #794079
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794079#FFFFFF#000000##FFFFFF
##7940791.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B507B
Deuteranopia (green-blind)
#4B5877
Tritanopia (blue-blind)
#7C4657
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #794079;
/* rgb */ color: rgb(121, 64, 121);
/* oklch */ color: oklch(46.4% 0.111 327.2);
Tailwind
colors: {
  custom: {
    50: '#a177a0',
    500: '#794079',
    950: '#000000',
  },
}
SCSS
$custom: #794079;
$custom-light: #a177a0;
$custom-dark: #000000;
JSON
{
  "hex": "#794079",
  "rgb": {
    "r": 121,
    "g": 64,
    "b": 121
  },
  "hsl": {
    "h": 300,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46383,
    "c": 0.1114,
    "h": 327.2
  },
  "luminance": 0.09112
}

Semantic roles & 50–950 ramp

primary
#794079
secondary
#71A471
accent
#C76161
background
#FAF7F9
surface
#F3EDF2
border
#CDC8CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #794079

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

Preview Lab → · Contrast checker → · Palette generator →

#794079 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva