#792A77#792A77

#792A77 is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.2% C 0.146 H 328.8°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#792A77
RGBrgb(121, 42, 119)
HSLhsl(302, 48%, 32%)
HSVhsv(302, 65%, 47%)
CMYKcmyk(0%, 65.3%, 1.7%, 52.5%)
CIE-LABlab(31.93, 44.54, -27.49)
CIE-LCHlch(31.93, 52.34, 328.32°)
OKLaboklab(43.21% 0.125 -0.0758)
OKLCHoklch(43.21% 0.146 328.8)
XYZxyz(12.0428, 7.0536, 18.1764)
Luminance0.0705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A77 #2A792C
analogous
#542A79 #792A77 #792A50
triadic
#792A77 #77792A #2A7779
tetradic
#792A77 #79542A #2A792C #2A5079
square
#792A77 #79542A #2A792C #2A5079
split-complementary
#792A77 #50792A #2A7954
monochromatic
#1E0A1E #4C1A4A #792A77 #A63AA4 #C558C2

Accessibility & contrast

On white

8.71
#792A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#792A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A77
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A77#FFFFFF#000000##FFFFFF
##792A771.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224479
Deuteranopia (green-blind)
#3E4F75
Tritanopia (blue-blind)
#7D344C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #792a77;
/* rgb */ color: rgb(121, 42, 119);
/* oklch */ color: oklch(43.2% 0.146 328.8);
Tailwind
colors: {
  custom: {
    50: '#a26a9e',
    500: '#792a77',
    950: '#000000',
  },
}
SCSS
$custom: #792a77;
$custom-light: #a26a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#792a77",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 301.519,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.4321,
    "c": 0.14615,
    "h": 328.8
  },
  "luminance": 0.07053
}

Semantic roles & 50–950 ramp

primary
#792A77
secondary
#54AB56
accent
#D85350
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #792A77

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

Preview Lab → · Contrast checker → · Palette generator →

#792A77 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva