#792B99#792B99

#792B99 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.5% C 0.177 H 314.2°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#792B99
RGBrgb(121, 43, 153)
HSLhsl(283, 56%, 38%)
HSVhsv(283, 72%, 60%)
CMYKcmyk(20.9%, 71.9%, 0%, 40%)
CIE-LABlab(34.18, 50.88, -44.96)
CIE-LCHlch(34.18, 67.90, 318.53°)
OKLaboklab(45.5% 0.1232 -0.1267)
OKLCHoklch(45.5% 0.177 314.2)
XYZxyz(14.4978, 8.0931, 30.9292)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B99 #4B992B
analogous
#422B99 #792B99 #992B82
triadic
#792B99 #99792B #2B9979
tetradic
#792B99 #99422B #4B992B #2B8299
square
#792B99 #99422B #4B992B #2B8299
split-complementary
#792B99 #82992B #2B9942
monochromatic
#2D1039 #531E69 #792B99 #9E3AC8 #B669D5

Accessibility & contrast

On white

8.02
#792B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#792B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792B99
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B99#FFFFFF#000000##FFFFFF
##792B991.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792b99;
/* rgb */ color: rgb(121, 43, 153);
/* oklch */ color: oklch(45.5% 0.177 314.2);
Tailwind
colors: {
  custom: {
    50: '#a36cb8',
    500: '#792b99',
    950: '#000000',
  },
}
SCSS
$custom: #792b99;
$custom-light: #a36cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#792b99",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 282.545,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45499,
    "c": 0.17674,
    "h": 314.2
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

primary
#792B99
secondary
#7EBC64
accent
#DF4874
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792B99

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

Preview Lab → · Contrast checker → · Palette generator →

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