#792C96#792C96

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

Color values

HEX#792C96
RGBrgb(121, 44, 150)
HSLhsl(284, 55%, 38%)
HSVhsv(284, 71%, 59%)
CMYKcmyk(19.3%, 70.7%, 0%, 41.2%)
CIE-LABlab(34.13, 49.81, -43.21)
CIE-LCHlch(34.13, 65.94, 319.06°)
OKLaboklab(45.4% 0.1224 -0.1216)
OKLCHoklch(45.4% 0.173 315.2)
XYZxyz(14.2900, 8.0688, 29.6529)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792C96 #49962C
analogous
#442C96 #792C96 #962C7E
triadic
#792C96 #96792C #2C9679
tetradic
#792C96 #96442C #49962C #2C7E96
square
#792C96 #96442C #49962C #2C7E96
split-complementary
#792C96 #7E962C #2C9644
monochromatic
#2D1037 #531E67 #792C96 #9F3AC5 #B669D3

Accessibility & contrast

On white

8.03
#792C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792C96
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792C96#FFFFFF#000000##FFFFFF
##792C961.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #792c96;
/* rgb */ color: rgb(121, 44, 150);
/* oklch */ color: oklch(45.4% 0.173 315.2);
Tailwind
colors: {
  custom: {
    50: '#a36cb5',
    500: '#792c96',
    950: '#000000',
  },
}
SCSS
$custom: #792c96;
$custom-light: #a36cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#792c96",
  "rgb": {
    "r": 121,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 283.585,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45398,
    "c": 0.17254,
    "h": 315.2
  },
  "luminance": 0.08068
}

Semantic roles & 50–950 ramp

primary
#792C96
secondary
#7BBA64
accent
#DE4A72
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792C96

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

Preview Lab → · Contrast checker → · Palette generator →

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