#792C99#792C99

#792C99 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.175 H 314.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#792C99
RGBrgb(121, 44, 153)
HSLhsl(282, 55%, 39%)
HSVhsv(282, 71%, 60%)
CMYKcmyk(20.9%, 71.2%, 0%, 40%)
CIE-LABlab(34.33, 50.45, -44.72)
CIE-LCHlch(34.33, 67.41, 318.45°)
OKLaboklab(45.61% 0.1221 -0.126)
OKLCHoklch(45.61% 0.175 314.1)
XYZxyz(14.5346, 8.1667, 30.9415)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C99 #4C992C
analogous
#422C99 #792C99 #992C82
triadic
#792C99 #99792C #2C9979
tetradic
#792C99 #99422C #4C992C #2C8299
square
#792C99 #99422C #4C992C #2C8299
split-complementary
#792C99 #82992C #2C9942
monochromatic
#2E113A #531E69 #792C99 #9E3BC7 #B56BD4

Accessibility & contrast

On white

7.98
#792C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#792C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C99
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C99#FFFFFF#000000##FFFFFF
##792C991.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#265397
Tritanopia (blue-blind)
#76435F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #792c99;
/* rgb */ color: rgb(121, 44, 153);
/* oklch */ color: oklch(45.6% 0.175 314.1);
Tailwind
colors: {
  custom: {
    50: '#a36cb8',
    500: '#792c99',
    950: '#000000',
  },
}
SCSS
$custom: #792c99;
$custom-light: #a36cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#792c99",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 282.385,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45607,
    "c": 0.17548,
    "h": 314.1
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#792C99
secondary
#7FBB66
accent
#DF4975
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792C99

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

Preview Lab → · Contrast checker → · Palette generator →

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