#794672#794672

#794672 is a mid, moderate purple. Relative luminance 0.097; OKLCH L 47.0% C 0.093 H 332.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#794672
RGBrgb(121, 70, 114)
HSLhsl(308, 27%, 37%)
HSVhsv(308, 42%, 47%)
CMYKcmyk(0%, 42.1%, 5.8%, 52.5%)
CIE-LABlab(37.23, 28.93, -16.11)
CIE-LCHlch(37.23, 33.12, 330.88°)
OKLaboklab(47.05% 0.0823 -0.0436)
OKLCHoklch(47.05% 0.093 332.1)
XYZxyz(13.1125, 9.6609, 17.0904)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794672 #46794D
analogous
#664679 #794672 #794659
triadic
#794672 #727946 #467279
tetradic
#794672 #796646 #46794D #465979
square
#794672 #796646 #46794D #465979
split-complementary
#794672 #597946 #467966
monochromatic
#2B1929 #52304D #794672 #A05C97 #B782B0

Accessibility & contrast

On white

7.16
#794672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#794672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #794672
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794672#FFFFFF#000000##FFFFFF
##7946721.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455374
Deuteranopia (green-blind)
#525A70
Tritanopia (blue-blind)
#7D4957
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #794672;
/* rgb */ color: rgb(121, 70, 114);
/* oklch */ color: oklch(47.0% 0.093 332.1);
Tailwind
colors: {
  custom: {
    50: '#a17b9a',
    500: '#794672',
    950: '#000000',
  },
}
SCSS
$custom: #794672;
$custom-light: #a17b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#794672",
  "rgb": {
    "r": 121,
    "g": 70,
    "b": 114
  },
  "hsl": {
    "h": 308.235,
    "s": 26.702,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47049,
    "c": 0.0931,
    "h": 332.1
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

primary
#794672
secondary
#78A37E
accent
#C37265
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #794672

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

Preview Lab → · Contrast checker → · Palette generator →

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