#792986#792986

#792986 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.161 H 321.8°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#792986
RGBrgb(121, 41, 134)
HSLhsl(292, 53%, 34%)
HSVhsv(292, 69%, 53%)
CMYKcmyk(9.7%, 69.4%, 0%, 47.5%)
CIE-LABlab(32.64, 47.83, -35.74)
CIE-LCHlch(32.64, 59.71, 323.23°)
OKLaboklab(44.01% 0.1266 -0.0997)
OKLCHoklch(44.01% 0.161 321.8)
XYZxyz(12.9807, 7.3727, 23.2890)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#792986 #368629
analogous
#4B2986 #792986 #862965
triadic
#792986 #867929 #298679
tetradic
#792986 #864B29 #368629 #296586
square
#792986 #864B29 #368629 #296586
split-complementary
#792986 #658629 #29864B
monochromatic
#240C28 #4F1B57 #792986 #A337B5 #BD5CCD

Accessibility & contrast

On white

8.49
#792986 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #792986
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##792986#FFFFFF#000000##FFFFFF
##7929861.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4789
Deuteranopia (green-blind)
#355084
Tritanopia (blue-blind)
#7A3954
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #792986;
/* rgb */ color: rgb(121, 41, 134);
/* oklch */ color: oklch(44.0% 0.161 321.8);
Tailwind
colors: {
  custom: {
    50: '#a36aaa',
    500: '#792986',
    950: '#000000',
  },
}
SCSS
$custom: #792986;
$custom-light: #a36aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#792986",
  "rgb": {
    "r": 121,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 291.613,
    "s": 53.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44005,
    "c": 0.1612,
    "h": 321.8
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#792986
secondary
#65B358
accent
#DD4B60
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #792986

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

Preview Lab → · Contrast checker → · Palette generator →

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