#792A94#792A94

#792A94 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.173 H 316.1°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#792A94
RGBrgb(121, 42, 148)
HSLhsl(285, 56%, 37%)
HSVhsv(285, 72%, 58%)
CMYKcmyk(18.2%, 71.6%, 0%, 42%)
CIE-LABlab(33.69, 50.25, -42.69)
CIE-LCHlch(33.69, 65.94, 319.64°)
OKLaboklab(45.04% 0.1248 -0.1201)
OKLCHoklch(45.04% 0.173 316.1)
XYZxyz(14.0576, 7.8595, 28.7878)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A94 #45942A
analogous
#442A94 #792A94 #942A7A
triadic
#792A94 #94792A #2A9479
tetradic
#792A94 #94442A #45942A #2A7A94
square
#792A94 #94442A #45942A #2A7A94
split-complementary
#792A94 #7A942A #2A9444
monochromatic
#2B0F35 #521C64 #792A94 #A038C4 #B765D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##792A94#FFFFFF#000000##FFFFFF
##792A941.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)
#004B97
Deuteranopia (green-blind)
#295192
Tritanopia (blue-blind)
#773F5C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #792a94;
/* rgb */ color: rgb(121, 42, 148);
/* oklch */ color: oklch(45.0% 0.173 316.1);
Tailwind
colors: {
  custom: {
    50: '#a36bb4',
    500: '#792a94',
    950: '#000000',
  },
}
SCSS
$custom: #792a94;
$custom-light: #a36bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#792a94",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 284.717,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45043,
    "c": 0.17316,
    "h": 316.1
  },
  "luminance": 0.07859
}

Semantic roles & 50–950 ramp

primary
#792A94
secondary
#77B960
accent
#DF496F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792A94

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

Preview Lab → · Contrast checker → · Palette generator →

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