#794873#794873

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

Color values

HEX#794873
RGBrgb(121, 72, 115)
HSLhsl(307, 25%, 38%)
HSVhsv(307, 40%, 47%)
CMYKcmyk(0%, 40.5%, 5%, 52.5%)
CIE-LABlab(37.73, 27.96, -15.96)
CIE-LCHlch(37.73, 32.20, 330.28°)
OKLaboklab(47.44% 0.0792 -0.0432)
OKLCHoklch(47.44% 0.09 331.4)
XYZxyz(13.2969, 9.9381, 17.4342)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#794873 #48794E
analogous
#664879 #794873 #79485A
triadic
#794873 #737948 #487379
tetradic
#794873 #796648 #48794E #485A79
square
#794873 #796648 #48794E #485A79
split-complementary
#794873 #5A7948 #487966
monochromatic
#2C1A2A #53314F #794873 #9F5F97 #B685B0

Accessibility & contrast

On white

7.03
#794873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#794873 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #794873
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##794873#FFFFFF#000000##FFFFFF
##7948731.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475575
Deuteranopia (green-blind)
#535B71
Tritanopia (blue-blind)
#7D4B58
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #794873;
/* rgb */ color: rgb(121, 72, 115);
/* oklch */ color: oklch(47.4% 0.090 331.4);
Tailwind
colors: {
  custom: {
    50: '#a17c9b',
    500: '#794873',
    950: '#000000',
  },
}
SCSS
$custom: #794873;
$custom-light: #a17c9b;
$custom-dark: #000000;
JSON
{
  "hex": "#794873",
  "rgb": {
    "r": 121,
    "g": 72,
    "b": 115
  },
  "hsl": {
    "h": 307.347,
    "s": 25.389,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47442,
    "c": 0.09023,
    "h": 331.4
  },
  "luminance": 0.09937
}

Semantic roles & 50–950 ramp

primary
#794873
secondary
#7AA27F
accent
#C27166
background
#FAF7F9
surface
#F3EEF2
border
#CDC9CC
text
#0F090E
muted
#7F7B7E

Preview Lab

Preview with #794873

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

Preview Lab → · Contrast checker → · Palette generator →

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