#792196#792196

#792196 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.185 H 316.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#792196
RGBrgb(121, 33, 150)
HSLhsl(285, 64%, 36%)
HSVhsv(285, 78%, 59%)
CMYKcmyk(19.3%, 78%, 0%, 41.2%)
CIE-LABlab(32.60, 54.15, -45.67)
CIE-LCHlch(32.60, 70.83, 319.85°)
OKLaboklab(44.32% 0.1334 -0.1287)
OKLCHoklch(44.32% 0.185 316)
XYZxyz(13.9332, 7.3552, 29.5340)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792196 #3E9621
analogous
#3E2196 #792196 #962178
triadic
#792196 #967921 #219679
tetradic
#792196 #963E21 #3E9621 #217896
square
#792196 #963E21 #3E9621 #217896
split-complementary
#792196 #789621 #21963E
monochromatic
#280B32 #511664 #792196 #A12CC8 #BA57DA

Accessibility & contrast

On white

8.50
#792196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#792196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792196
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792196#FFFFFF#000000##FFFFFF
##7921961.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004899
Deuteranopia (green-blind)
#1F4F93
Tritanopia (blue-blind)
#773B5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792196;
/* rgb */ color: rgb(121, 33, 150);
/* oklch */ color: oklch(44.3% 0.185 316.0);
Tailwind
colors: {
  custom: {
    50: '#a467b6',
    500: '#792196',
    950: '#000000',
  },
}
SCSS
$custom: #792196;
$custom-light: #a467b6;
$custom-dark: #000000;
JSON
{
  "hex": "#792196",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 150
  },
  "hsl": {
    "h": 285.128,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44316,
    "c": 0.1854,
    "h": 316
  },
  "luminance": 0.07355
}

Semantic roles & 50–950 ramp

primary
#792196
secondary
#6FBE55
accent
#E7416A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #792196

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

Preview Lab → · Contrast checker → · Palette generator →

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