#792A99#792A99

#792A99 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.178 H 314.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#792A99
RGBrgb(121, 42, 153)
HSLhsl(283, 57%, 38%)
HSVhsv(283, 73%, 60%)
CMYKcmyk(20.9%, 72.5%, 0%, 40%)
CIE-LABlab(34.03, 51.30, -45.20)
CIE-LCHlch(34.03, 68.37, 318.61°)
OKLaboklab(45.39% 0.1242 -0.1274)
OKLCHoklch(45.39% 0.178 314.3)
XYZxyz(14.4619, 8.0213, 30.9173)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792A99 #4A992A
analogous
#422A99 #792A99 #992A81
triadic
#792A99 #99792A #2A9979
tetradic
#792A99 #99422A #4A992A #2A8199
square
#792A99 #99422A #4A992A #2A8199
split-complementary
#792A99 #81992A #2A9942
monochromatic
#2D1039 #531D69 #792A99 #9F38C8 #B668D6

Accessibility & contrast

On white

8.06
#792A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#792A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792A99
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792A99#FFFFFF#000000##FFFFFF
##792A991.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#245297
Tritanopia (blue-blind)
#76415F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792a99;
/* rgb */ color: rgb(121, 42, 153);
/* oklch */ color: oklch(45.4% 0.178 314.3);
Tailwind
colors: {
  custom: {
    50: '#a36bb8',
    500: '#792a99',
    950: '#000000',
  },
}
SCSS
$custom: #792a99;
$custom-light: #a36bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#792a99",
  "rgb": {
    "r": 121,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 282.703,
    "s": 56.923,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45393,
    "c": 0.17798,
    "h": 314.3
  },
  "luminance": 0.08021
}

Semantic roles & 50–950 ramp

primary
#792A99
secondary
#7DBC63
accent
#E04874
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792A99

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

Preview Lab → · Contrast checker → · Palette generator →

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