#792B97#792B97

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

Color values

HEX#792B97
RGBrgb(121, 43, 151)
HSLhsl(283, 56%, 38%)
HSVhsv(283, 72%, 59%)
CMYKcmyk(19.9%, 71.5%, 0%, 40.8%)
CIE-LABlab(34.04, 50.45, -43.96)
CIE-LCHlch(34.04, 66.92, 318.93°)
OKLaboklab(45.36% 0.1234 -0.1238)
OKLCHoklch(45.36% 0.175 314.9)
XYZxyz(14.3340, 8.0276, 30.0666)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B97 #49972B
analogous
#432B97 #792B97 #972B7F
triadic
#792B97 #97792B #2B9779
tetradic
#792B97 #97432B #49972B #2B7F97
square
#792B97 #97432B #49972B #2B7F97
split-complementary
#792B97 #7F972B #2B9743
monochromatic
#2D1038 #531D67 #792B97 #9F39C7 #B668D4

Accessibility & contrast

On white

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

On black

2.61
#792B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##792B97#FFFFFF#000000##FFFFFF
##792B971.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#275295
Tritanopia (blue-blind)
#77415E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792b97;
/* rgb */ color: rgb(121, 43, 151);
/* oklch */ color: oklch(45.4% 0.175 314.9);
Tailwind
colors: {
  custom: {
    50: '#a36bb6',
    500: '#792b97',
    950: '#000000',
  },
}
SCSS
$custom: #792b97;
$custom-light: #a36bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#792b97",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 283.333,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45359,
    "c": 0.1748,
    "h": 314.9
  },
  "luminance": 0.08027
}

Semantic roles & 50–950 ramp

primary
#792B97
secondary
#7BBB63
accent
#DF4973
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792B97

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

Preview Lab → · Contrast checker → · Palette generator →

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