#794072#794072

#794072 is a mid, moderate purple. Relative luminance 0.089; OKLCH L 46.0% C 0.104 H 331.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#794072
RGBrgb(121, 64, 114)
HSLhsl(307, 31%, 36%)
HSVhsv(307, 47%, 47%)
CMYKcmyk(0%, 47.1%, 5.8%, 52.5%)
CIE-LABlab(35.88, 32.36, -18.18)
CIE-LCHlch(35.88, 37.12, 330.67°)
OKLaboklab(46.04% 0.0921 -0.0494)
OKLCHoklch(46.04% 0.104 331.8)
XYZxyz(12.7557, 8.9474, 16.9715)
Luminance0.0895 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794072 #407947
analogous
#644079 #794072 #794056
triadic
#794072 #727940 #407279
tetradic
#794072 #796440 #407947 #405679
square
#794072 #796440 #407947 #405679
split-complementary
#794072 #567940 #407964
monochromatic
#291627 #512B4C #794072 #A15598 #B97AB1

Accessibility & contrast

On white

7.53
#794072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#794072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #794072
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794072#FFFFFF#000000##FFFFFF
##7940721.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F74
Deuteranopia (green-blind)
#4E5770
Tritanopia (blue-blind)
#7D4453
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #794072;
/* rgb */ color: rgb(121, 64, 114);
/* oklch */ color: oklch(46.0% 0.104 331.8);
Tailwind
colors: {
  custom: {
    50: '#a1779a',
    500: '#794072',
    950: '#000000',
  },
}
SCSS
$custom: #794072;
$custom-light: #a1779a;
$custom-dark: #000000;
JSON
{
  "hex": "#794072",
  "rgb": {
    "r": 121,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 307.368,
    "s": 30.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46042,
    "c": 0.10446,
    "h": 331.8
  },
  "luminance": 0.08947
}

Semantic roles & 50–950 ramp

primary
#794072
secondary
#71A477
accent
#C76D61
background
#FAF7F9
surface
#F3EDF2
border
#CDC8CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #794072

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

Preview Lab → · Contrast checker → · Palette generator →

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