#794872#794872

#794872 is a mid, moderate purple. Relative luminance 0.099; OKLCH L 47.4% C 0.089 H 332.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#794872
RGBrgb(121, 72, 114)
HSLhsl(309, 25%, 38%)
HSVhsv(309, 40%, 47%)
CMYKcmyk(0%, 40.5%, 5.8%, 52.5%)
CIE-LABlab(37.69, 27.77, -15.41)
CIE-LCHlch(37.69, 31.75, 330.98°)
OKLaboklab(47.4% 0.0789 -0.0416)
OKLCHoklch(47.4% 0.089 332.2)
XYZxyz(13.2397, 9.9152, 17.1328)
Luminance0.0992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794872 #48794F
analogous
#674879 #794872 #794859
triadic
#794872 #727948 #487279
tetradic
#794872 #796748 #48794F #485979
square
#794872 #796748 #48794F #485979
split-complementary
#794872 #597948 #487967
monochromatic
#2C1A2A #53314E #794872 #9F5F96 #B685AF

Accessibility & contrast

On white

7.04
#794872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#794872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #794872
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794872#FFFFFF#000000##FFFFFF
##7948721.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475474
Deuteranopia (green-blind)
#545B70
Tritanopia (blue-blind)
#7D4B58
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #794872;
/* rgb */ color: rgb(121, 72, 114);
/* oklch */ color: oklch(47.4% 0.089 332.2);
Tailwind
colors: {
  custom: {
    50: '#a17c9a',
    500: '#794872',
    950: '#000000',
  },
}
SCSS
$custom: #794872;
$custom-light: #a17c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#794872",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 114
  },
  "hsl": {
    "h": 308.571,
    "s": 25.389,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47397,
    "c": 0.08924,
    "h": 332.2
  },
  "luminance": 0.09915
}

Semantic roles & 50–950 ramp

primary
#794872
secondary
#7AA280
accent
#C27366
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #794872

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

Preview Lab → · Contrast checker → · Palette generator →

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