#792194#792194

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

Color values

HEX#792194
RGBrgb(121, 33, 148)
HSLhsl(286, 64%, 35%)
HSVhsv(286, 78%, 58%)
CMYKcmyk(18.2%, 77.7%, 0%, 42%)
CIE-LABlab(32.46, 53.74, -44.67)
CIE-LCHlch(32.46, 69.88, 320.27°)
OKLaboklab(44.17% 0.1337 -0.1258)
OKLCHoklch(44.17% 0.184 316.7)
XYZxyz(13.7735, 7.2914, 28.6931)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792194 #3C9421
analogous
#3F2194 #792194 #942175
triadic
#792194 #947921 #219479
tetradic
#792194 #943F21 #3C9421 #217594
square
#792194 #943F21 #3C9421 #217594
split-complementary
#792194 #759421 #21943F
monochromatic
#270B30 #501662 #792194 #A22CC6 #BB56D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##792194#FFFFFF#000000##FFFFFF
##7921941.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)
#004797
Deuteranopia (green-blind)
#224F92
Tritanopia (blue-blind)
#773A5A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #792194;
/* rgb */ color: rgb(121, 33, 148);
/* oklch */ color: oklch(44.2% 0.184 316.7);
Tailwind
colors: {
  custom: {
    50: '#a467b4',
    500: '#792194',
    950: '#000000',
  },
}
SCSS
$custom: #792194;
$custom-light: #a467b4;
$custom-dark: #000000;
JSON
{
  "hex": "#792194",
  "rgb": {
    "r": 121,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 285.913,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44171,
    "c": 0.18359,
    "h": 316.7
  },
  "luminance": 0.07291
}

Semantic roles & 50–950 ramp

primary
#792194
secondary
#6CBD54
accent
#E74168
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #792194

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

Preview Lab → · Contrast checker → · Palette generator →

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