#792B96#792B96

#792B96 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.3% C 0.174 H 315.3°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#792B96
RGBrgb(121, 43, 150)
HSLhsl(284, 55%, 38%)
HSVhsv(284, 71%, 59%)
CMYKcmyk(19.3%, 71.3%, 0%, 41.2%)
CIE-LABlab(33.97, 50.24, -43.46)
CIE-LCHlch(33.97, 66.43, 319.14°)
OKLaboklab(45.29% 0.1235 -0.1223)
OKLCHoklch(45.29% 0.174 315.3)
XYZxyz(14.2532, 7.9952, 29.6407)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B96 #48962B
analogous
#432B96 #792B96 #962B7D
triadic
#792B96 #96792B #2B9679
tetradic
#792B96 #96432B #48962B #2B7D96
square
#792B96 #96432B #48962B #2B7D96
split-complementary
#792B96 #7D962B #2B9643
monochromatic
#2C1037 #531D66 #792B96 #9F39C6 #B668D4

Accessibility & contrast

On white

8.08
#792B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792B96
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B96#FFFFFF#000000##FFFFFF
##792B961.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B99
Deuteranopia (green-blind)
#285294
Tritanopia (blue-blind)
#77415D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792b96;
/* rgb */ color: rgb(121, 43, 150);
/* oklch */ color: oklch(45.3% 0.174 315.3);
Tailwind
colors: {
  custom: {
    50: '#a36bb5',
    500: '#792b96',
    950: '#000000',
  },
}
SCSS
$custom: #792b96;
$custom-light: #a36bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#792b96",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 283.738,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45289,
    "c": 0.17383,
    "h": 315.3
  },
  "luminance": 0.07995
}

Semantic roles & 50–950 ramp

primary
#792B96
secondary
#7ABA63
accent
#DF4972
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792B96

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

Preview Lab → · Contrast checker → · Palette generator →

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