#793B86#793B86

#793B86 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.3% C 0.134 H 320.4°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#793B86
RGBrgb(121, 59, 134)
HSLhsl(290, 39%, 38%)
HSVhsv(290, 56%, 53%)
CMYKcmyk(9.7%, 56%, 0%, 47.5%)
CIE-LABlab(35.82, 39.13, -30.70)
CIE-LCHlch(35.82, 49.74, 321.88°)
OKLaboklab(46.32% 0.1031 -0.0852)
OKLCHoklch(46.32% 0.134 320.4)
XYZxyz(13.7517, 8.9147, 23.5460)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793B86 #48863B
analogous
#533B86 #793B86 #863B6D
triadic
#793B86 #86793B #3B8679
tetradic
#793B86 #86533B #48863B #3B6D86
square
#793B86 #86533B #48863B #3B6D86
split-complementary
#793B86 #6D863B #3B8653
monochromatic
#2C1631 #53285C #793B86 #9F4EB0 #B678C4

Accessibility & contrast

On white

7.55
#793B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#793B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793B86
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793B86#FFFFFF#000000##FFFFFF
##793B861.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5088
Deuteranopia (green-blind)
#415784
Tritanopia (blue-blind)
#7A465B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #793b86;
/* rgb */ color: rgb(121, 59, 134);
/* oklch */ color: oklch(46.3% 0.134 320.4);
Tailwind
colors: {
  custom: {
    50: '#a274a9',
    500: '#793b86',
    950: '#000000',
  },
}
SCSS
$custom: #793b86;
$custom-light: #a274a9;
$custom-dark: #000000;
JSON
{
  "hex": "#793b86",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 134
  },
  "hsl": {
    "h": 289.6,
    "s": 38.86,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46316,
    "c": 0.13379,
    "h": 320.4
  },
  "luminance": 0.08914
}

Semantic roles & 50–950 ramp

primary
#793B86
secondary
#7AAD70
accent
#CF596D
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #793B86

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

Preview Lab → · Contrast checker → · Palette generator →

#793B86 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva