#792096#792096

#792096 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.186 H 316.1°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#792096
RGBrgb(121, 32, 150)
HSLhsl(285, 65%, 36%)
HSVhsv(285, 79%, 59%)
CMYKcmyk(19.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(32.48, 54.49, -45.86)
CIE-LCHlch(32.48, 71.22, 319.92°)
OKLaboklab(44.23% 0.1343 -0.1293)
OKLCHoklch(44.23% 0.186 316.1)
XYZxyz(13.9058, 7.3005, 29.5249)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792096 #3D9620
analogous
#3E2096 #792096 #962078
triadic
#792096 #967920 #209679
tetradic
#792096 #963E20 #3D9620 #207896
square
#792096 #963E20 #3D9620 #207896
split-complementary
#792096 #789620 #20963E
monochromatic
#280A31 #501564 #792096 #A22BC8 #BA56DB

Accessibility & contrast

On white

8.54
#792096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#792096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792096
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792096#FFFFFF#000000##FFFFFF
##7920961.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#1E4F93
Tritanopia (blue-blind)
#773B5B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792096;
/* rgb */ color: rgb(121, 32, 150);
/* oklch */ color: oklch(44.2% 0.186 316.1);
Tailwind
colors: {
  custom: {
    50: '#a466b6',
    500: '#792096',
    950: '#000000',
  },
}
SCSS
$custom: #792096;
$custom-light: #a466b6;
$custom-dark: #000000;
JSON
{
  "hex": "#792096",
  "rgb": {
    "r": 121,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 285.254,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44231,
    "c": 0.18642,
    "h": 316.1
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#792096
secondary
#6EBE53
accent
#E84069
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #792096

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

Preview Lab → · Contrast checker → · Palette generator →

#792096 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva