#792B98#792B98

#792B98 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.4% C 0.176 H 314.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#792B98
RGBrgb(121, 43, 152)
HSLhsl(283, 56%, 38%)
HSVhsv(283, 72%, 60%)
CMYKcmyk(20.4%, 71.7%, 0%, 40.4%)
CIE-LABlab(34.11, 50.66, -44.46)
CIE-LCHlch(34.11, 67.41, 318.73°)
OKLaboklab(45.43% 0.1233 -0.1253)
OKLCHoklch(45.43% 0.176 314.5)
XYZxyz(14.4156, 8.0602, 30.4961)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792B98 #4A982B
analogous
#432B98 #792B98 #982B80
triadic
#792B98 #98792B #2B9879
tetradic
#792B98 #98432B #4A982B #2B8098
square
#792B98 #98432B #4A982B #2B8098
split-complementary
#792B98 #80982B #2B9843
monochromatic
#2D1039 #531E68 #792B98 #9F39C7 #B669D5

Accessibility & contrast

On white

8.04
#792B98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792B98
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792B98#FFFFFF#000000##FFFFFF
##792B981.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#265296
Tritanopia (blue-blind)
#76425E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #792b98;
/* rgb */ color: rgb(121, 43, 152);
/* oklch */ color: oklch(45.4% 0.176 314.5);
Tailwind
colors: {
  custom: {
    50: '#a36cb7',
    500: '#792b98',
    950: '#000000',
  },
}
SCSS
$custom: #792b98;
$custom-light: #a36cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#792b98",
  "rgb": {
    "r": 121,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 282.936,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45428,
    "c": 0.17577,
    "h": 314.5
  },
  "luminance": 0.0806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #792B98

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

Preview Lab → · Contrast checker → · Palette generator →

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