#792394#792394

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

Color values

HEX#792394
RGBrgb(121, 35, 148)
HSLhsl(286, 62%, 36%)
HSVhsv(286, 76%, 58%)
CMYKcmyk(18.2%, 76.4%, 0%, 42%)
CIE-LABlab(32.71, 53.02, -44.26)
CIE-LCHlch(32.71, 69.07, 320.14°)
OKLaboklab(44.35% 0.1319 -0.1246)
OKLCHoklch(44.35% 0.181 316.6)
XYZxyz(13.8307, 7.4057, 28.7121)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792394 #3E9423
analogous
#402394 #792394 #942376
triadic
#792394 #947923 #239479
tetradic
#792394 #944023 #3E9423 #237694
square
#792394 #944023 #3E9423 #237694
split-complementary
#792394 #769423 #239440
monochromatic
#280C31 #511763 #792394 #A12FC5 #BA5AD8

Accessibility & contrast

On white

8.46
#792394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792394
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792394#FFFFFF#000000##FFFFFF
##7923941.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#234F92
Tritanopia (blue-blind)
#773B5A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792394;
/* rgb */ color: rgb(121, 35, 148);
/* oklch */ color: oklch(44.4% 0.181 316.6);
Tailwind
colors: {
  custom: {
    50: '#a468b4',
    500: '#792394',
    950: '#000000',
  },
}
SCSS
$custom: #792394;
$custom-light: #a468b4;
$custom-dark: #000000;
JSON
{
  "hex": "#792394",
  "rgb": {
    "r": 121,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 285.664,
    "s": 61.749,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4435,
    "c": 0.18144,
    "h": 316.6
  },
  "luminance": 0.07405
}

Semantic roles & 50–950 ramp

primary
#792394
secondary
#6FBC57
accent
#E5436A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #792394

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

Preview Lab → · Contrast checker → · Palette generator →

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