#792E8A#792E8A

#792E8A is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.8% C 0.158 H 319.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#792E8A
RGBrgb(121, 46, 138)
HSLhsl(289, 50%, 36%)
HSVhsv(289, 67%, 54%)
CMYKcmyk(12.3%, 66.7%, 0%, 45.9%)
CIE-LABlab(33.68, 46.42, -36.57)
CIE-LCHlch(33.68, 59.09, 321.77°)
OKLaboklab(44.83% 0.1206 -0.1022)
OKLCHoklch(44.83% 0.158 319.7)
XYZxyz(13.4490, 7.8545, 24.8475)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E8A #3F8A2E
analogous
#4B2E8A #792E8A #8A2E6D
triadic
#792E8A #8A792E #2E8A79
tetradic
#792E8A #8A4B2E #3F8A2E #2E6D8A
square
#792E8A #8A4B2E #3F8A2E #2E6D8A
split-complementary
#792E8A #6D8A2E #2E8A4B
monochromatic
#290F2E #511F5C #792E8A #A13DB8 #B966CC

Accessibility & contrast

On white

8.17
#792E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#792E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E8A
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E8A#FFFFFF#000000##FFFFFF
##792E8A1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114A8D
Deuteranopia (green-blind)
#355288
Tritanopia (blue-blind)
#793E58
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792e8a;
/* rgb */ color: rgb(121, 46, 138);
/* oklch */ color: oklch(44.8% 0.158 319.7);
Tailwind
colors: {
  custom: {
    50: '#a36dad',
    500: '#792e8a',
    950: '#000000',
  },
}
SCSS
$custom: #792e8a;
$custom-light: #a36dad;
$custom-dark: #000000;
JSON
{
  "hex": "#792e8a",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 288.913,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44831,
    "c": 0.1581,
    "h": 319.7
  },
  "luminance": 0.07854
}

Semantic roles & 50–950 ramp

primary
#792E8A
secondary
#70B361
accent
#DA4E68
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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