#792E96#792E96

#792E96 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.170 H 315.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#792E96
RGBrgb(121, 46, 150)
HSLhsl(283, 53%, 38%)
HSVhsv(283, 69%, 59%)
CMYKcmyk(19.3%, 69.3%, 0%, 41.2%)
CIE-LABlab(34.44, 48.93, -42.71)
CIE-LCHlch(34.44, 64.95, 318.88°)
OKLaboklab(45.62% 0.1202 -0.1202)
OKLCHoklch(45.62% 0.17 315)
XYZxyz(14.3663, 8.2214, 29.6784)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792E96 #4B962E
analogous
#452E96 #792E96 #962E7F
triadic
#792E96 #96792E #2E9679
tetradic
#792E96 #96452E #4B962E #2E7F96
square
#792E96 #96452E #4B962E #2E7F96
split-complementary
#792E96 #7F962E #2E9645
monochromatic
#2D1138 #532067 #792E96 #9E3EC4 #B66CD2

Accessibility & contrast

On white

7.94
#792E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#792E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792E96
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792E96#FFFFFF#000000##FFFFFF
##792E961.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#2B5394
Tritanopia (blue-blind)
#77435E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #792e96;
/* rgb */ color: rgb(121, 46, 150);
/* oklch */ color: oklch(45.6% 0.170 315.0);
Tailwind
colors: {
  custom: {
    50: '#a36db5',
    500: '#792e96',
    950: '#000000',
  },
}
SCSS
$custom: #792e96;
$custom-light: #a36db5;
$custom-dark: #000000;
JSON
{
  "hex": "#792e96",
  "rgb": {
    "r": 121,
    "g": 46,
    "b": 150
  },
  "hsl": {
    "h": 283.269,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45623,
    "c": 0.16992,
    "h": 315
  },
  "luminance": 0.08221
}

Semantic roles & 50–950 ramp

primary
#792E96
secondary
#7EB967
accent
#DC4B74
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #792E96

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

Preview Lab → · Contrast checker → · Palette generator →

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