#792D99#792D99

#792D99 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.174 H 314.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#792D99
RGBrgb(121, 45, 153)
HSLhsl(282, 55%, 39%)
HSVhsv(282, 71%, 60%)
CMYKcmyk(20.9%, 70.6%, 0%, 40%)
CIE-LABlab(34.48, 50.01, -44.47)
CIE-LCHlch(34.48, 66.92, 318.36°)
OKLaboklab(45.72% 0.121 -0.1253)
OKLCHoklch(45.72% 0.174 314)
XYZxyz(14.5723, 8.2421, 30.9541)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792D99 #4D992D
analogous
#432D99 #792D99 #992D83
triadic
#792D99 #99792D #2D9979
tetradic
#792D99 #99432D #4D992D #2D8399
square
#792D99 #99432D #4D992D #2D8399
split-complementary
#792D99 #83992D #2D9943
monochromatic
#2E113A #541F6A #792D99 #9D3DC6 #B56CD4

Accessibility & contrast

On white

7.93
#792D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#792D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792D99
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792D99#FFFFFF#000000##FFFFFF
##792D991.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#275397
Tritanopia (blue-blind)
#764360
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #792d99;
/* rgb */ color: rgb(121, 45, 153);
/* oklch */ color: oklch(45.7% 0.174 314.0);
Tailwind
colors: {
  custom: {
    50: '#a36db8',
    500: '#792d99',
    950: '#000000',
  },
}
SCSS
$custom: #792d99;
$custom-light: #a36db8;
$custom-dark: #000000;
JSON
{
  "hex": "#792d99",
  "rgb": {
    "r": 121,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 282.222,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45717,
    "c": 0.17421,
    "h": 314
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#792D99
secondary
#80BB67
accent
#DE4A76
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792D99

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

Preview Lab → · Contrast checker → · Palette generator →

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