#792A82#792A82

#792A82 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.156 H 323.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#792A82
RGBrgb(121, 42, 130)
HSLhsl(294, 51%, 34%)
HSVhsv(294, 68%, 51%)
CMYKcmyk(6.9%, 67.7%, 0%, 49%)
CIE-LABlab(32.55, 46.62, -33.39)
CIE-LCHlch(32.55, 57.34, 324.38°)
OKLaboklab(43.86% 0.1255 -0.0929)
OKLCHoklch(43.86% 0.156 323.5)
XYZxyz(12.7420, 7.3333, 21.8591)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A82 #33822A
analogous
#4D2A82 #792A82 #822A5F
triadic
#792A82 #82792A #2A8279
tetradic
#792A82 #824D2A #33822A #2A5F82
square
#792A82 #824D2A #33822A #2A5F82
split-complementary
#792A82 #5F822A #2A824D
monochromatic
#230C25 #4E1B54 #792A82 #A439B0 #BF5CCA

Accessibility & contrast

On white

8.51
#792A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#792A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A82
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A82#FFFFFF#000000##FFFFFF
##792A821.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154785
Deuteranopia (green-blind)
#385080
Tritanopia (blue-blind)
#7B3852
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792a82;
/* rgb */ color: rgb(121, 42, 130);
/* oklch */ color: oklch(43.9% 0.156 323.5);
Tailwind
colors: {
  custom: {
    50: '#a36aa7',
    500: '#792a82',
    950: '#000000',
  },
}
SCSS
$custom: #792a82;
$custom-light: #a36aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#792a82",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 293.864,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43865,
    "c": 0.15612,
    "h": 323.5
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

primary
#792A82
secondary
#61B058
accent
#DB4D5C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #792A82

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

Preview Lab → · Contrast checker → · Palette generator →

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