#792197#792197

#792197 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.4% C 0.186 H 315.7°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#792197
RGBrgb(121, 33, 151)
HSLhsl(285, 64%, 36%)
HSVhsv(285, 78%, 59%)
CMYKcmyk(19.9%, 78.1%, 0%, 40.8%)
CIE-LABlab(32.67, 54.35, -46.16)
CIE-LCHlch(32.67, 71.31, 319.65°)
OKLaboklab(44.39% 0.1332 -0.1302)
OKLCHoklch(44.39% 0.186 315.7)
XYZxyz(14.0140, 7.3876, 29.9599)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792197 #3F9721
analogous
#3E2197 #792197 #97217A
triadic
#792197 #977921 #219779
tetradic
#792197 #973E21 #3F9721 #217A97
square
#792197 #973E21 #3F9721 #217A97
split-complementary
#792197 #7A9721 #21973E
monochromatic
#290B33 #511665 #792197 #A12CC9 #B958DA

Accessibility & contrast

On white

8.48
#792197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#792197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #792197
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792197#FFFFFF#000000##FFFFFF
##7921971.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#1E4F94
Tritanopia (blue-blind)
#773C5B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792197;
/* rgb */ color: rgb(121, 33, 151);
/* oklch */ color: oklch(44.4% 0.186 315.7);
Tailwind
colors: {
  custom: {
    50: '#a467b6',
    500: '#792197',
    950: '#000000',
  },
}
SCSS
$custom: #792197;
$custom-light: #a467b6;
$custom-dark: #000000;
JSON
{
  "hex": "#792197",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 284.746,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44389,
    "c": 0.18629,
    "h": 315.7
  },
  "luminance": 0.07387
}

Semantic roles & 50–950 ramp

primary
#792197
secondary
#70BE55
accent
#E7416B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #792197

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

Preview Lab → · Contrast checker → · Palette generator →

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