#792C98#792C98

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

Color values

HEX#792C98
RGBrgb(121, 44, 152)
HSLhsl(283, 55%, 38%)
HSVhsv(283, 71%, 60%)
CMYKcmyk(20.4%, 71.1%, 0%, 40.4%)
CIE-LABlab(34.26, 50.23, -44.22)
CIE-LCHlch(34.26, 66.92, 318.64°)
OKLaboklab(45.54% 0.1222 -0.1246)
OKLCHoklch(45.54% 0.175 314.5)
XYZxyz(14.4524, 8.1338, 30.5084)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C98 #4B982C
analogous
#432C98 #792C98 #982C81
triadic
#792C98 #98792C #2C9879
tetradic
#792C98 #98432C #4B982C #2C8198
square
#792C98 #98432C #4B982C #2C8198
split-complementary
#792C98 #81982C #2C9843
monochromatic
#2D1139 #531E69 #792C98 #9E3BC6 #B66AD4

Accessibility & contrast

On white

8.00
#792C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#792C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792C98
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C98#FFFFFF#000000##FFFFFF
##792C981.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#275296
Tritanopia (blue-blind)
#76425F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #792c98;
/* rgb */ color: rgb(121, 44, 152);
/* oklch */ color: oklch(45.5% 0.175 314.5);
Tailwind
colors: {
  custom: {
    50: '#a36cb7',
    500: '#792c98',
    950: '#000000',
  },
}
SCSS
$custom: #792c98;
$custom-light: #a36cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#792c98",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 282.778,
    "s": 55.102,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45537,
    "c": 0.17451,
    "h": 314.5
  },
  "luminance": 0.08133
}

Semantic roles & 50–950 ramp

primary
#792C98
secondary
#7EBB65
accent
#DE4974
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792C98

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

Preview Lab → · Contrast checker → · Palette generator →

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