#792A84#792A84

#792A84 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.158 H 322.6°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#792A84
RGBrgb(121, 42, 132)
HSLhsl(293, 52%, 34%)
HSVhsv(293, 68%, 52%)
CMYKcmyk(8.3%, 68.2%, 0%, 48.2%)
CIE-LABlab(32.67, 47.01, -34.45)
CIE-LCHlch(32.67, 58.28, 323.76°)
OKLaboklab(43.99% 0.1255 -0.096)
OKLCHoklch(43.99% 0.158 322.6)
XYZxyz(12.8776, 7.3875, 22.5730)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A84 #35842A
analogous
#4C2A84 #792A84 #842A62
triadic
#792A84 #84792A #2A8479
tetradic
#792A84 #844C2A #35842A #2A6284
square
#792A84 #844C2A #35842A #2A6284
split-complementary
#792A84 #62842A #2A844C
monochromatic
#240C27 #4E1B56 #792A84 #A439B2 #BE5DCB

Accessibility & contrast

On white

8.48
#792A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#792A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A84
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A84#FFFFFF#000000##FFFFFF
##792A841.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124787
Deuteranopia (green-blind)
#375082
Tritanopia (blue-blind)
#7B3953
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792a84;
/* rgb */ color: rgb(121, 42, 132);
/* oklch */ color: oklch(44.0% 0.158 322.6);
Tailwind
colors: {
  custom: {
    50: '#a36aa8',
    500: '#792a84',
    950: '#000000',
  },
}
SCSS
$custom: #792a84;
$custom-light: #a36aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#792a84",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 132
  },
  "hsl": {
    "h": 292.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43989,
    "c": 0.15798,
    "h": 322.6
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#792A84
secondary
#63B159
accent
#DB4D5E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792A84

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

Preview Lab → · Contrast checker → · Palette generator →

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