#794772#794772

#794772 is a mid, moderate purple. Relative luminance 0.098; OKLCH L 47.2% C 0.091 H 332.1°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#794772
RGBrgb(121, 71, 114)
HSLhsl(308, 26%, 38%)
HSVhsv(308, 41%, 47%)
CMYKcmyk(0%, 41.3%, 5.8%, 52.5%)
CIE-LABlab(37.46, 28.35, -15.76)
CIE-LCHlch(37.46, 32.44, 330.93°)
OKLaboklab(47.22% 0.0806 -0.0426)
OKLCHoklch(47.22% 0.091 332.1)
XYZxyz(13.1755, 9.7870, 17.1114)
Luminance0.0979 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794772 #47794E
analogous
#674779 #794772 #794759
triadic
#794772 #727947 #477279
tetradic
#794772 #796747 #47794E #475979
square
#794772 #796747 #47794E #475979
split-complementary
#794772 #597947 #477967
monochromatic
#2C1A29 #52304E #794772 #A05E96 #B784B0

Accessibility & contrast

On white

7.10
#794772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#794772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #794772
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794772#FFFFFF#000000##FFFFFF
##7947721.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465474
Deuteranopia (green-blind)
#535B70
Tritanopia (blue-blind)
#7D4A57
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #794772;
/* rgb */ color: rgb(121, 71, 114);
/* oklch */ color: oklch(47.2% 0.091 332.1);
Tailwind
colors: {
  custom: {
    50: '#a17b9a',
    500: '#794772',
    950: '#000000',
  },
}
SCSS
$custom: #794772;
$custom-light: #a17b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#794772",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 114
  },
  "hsl": {
    "h": 308.4,
    "s": 26.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47222,
    "c": 0.09117,
    "h": 332.1
  },
  "luminance": 0.09786
}

Semantic roles & 50–950 ramp

primary
#794772
secondary
#79A37F
accent
#C27265
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #794772

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

Preview Lab → · Contrast checker → · Palette generator →

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