#793597#793597

#793597 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.5% C 0.161 H 313.9°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#793597
RGBrgb(121, 53, 151)
HSLhsl(282, 48%, 40%)
HSVhsv(282, 65%, 59%)
CMYKcmyk(19.9%, 64.9%, 0%, 40.8%)
CIE-LABlab(35.69, 45.87, -41.32)
CIE-LCHlch(35.69, 61.73, 317.98°)
OKLaboklab(46.54% 0.1118 -0.1161)
OKLCHoklch(46.54% 0.161 313.9)
XYZxyz(14.7432, 8.8460, 30.2030)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793597 #539735
analogous
#483597 #793597 #973584
triadic
#793597 #977935 #359779
tetradic
#793597 #974835 #539735 #358497
square
#793597 #974835 #539735 #358497
split-complementary
#793597 #849735 #359748
monochromatic
#30153C #55256A #793597 #9B4ABF #B477CF

Accessibility & contrast

On white

7.58
#793597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#793597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793597
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793597#FFFFFF#000000##FFFFFF
##7935971.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B509A
Deuteranopia (green-blind)
#315695
Tritanopia (blue-blind)
#764761
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #793597;
/* rgb */ color: rgb(121, 53, 151);
/* oklch */ color: oklch(46.5% 0.161 313.9);
Tailwind
colors: {
  custom: {
    50: '#a371b6',
    500: '#793597',
    950: '#000000',
  },
}
SCSS
$custom: #793597;
$custom-light: #a371b6;
$custom-dark: #000000;
JSON
{
  "hex": "#793597",
  "rgb": {
    "r": 121,
    "g": 53,
    "b": 151
  },
  "hsl": {
    "h": 281.633,
    "s": 48.039,
    "l": 40
  },
  "oklch": {
    "l": 0.46541,
    "c": 0.16118,
    "h": 313.9
  },
  "luminance": 0.08846
}

Semantic roles & 50–950 ramp

primary
#793597
secondary
#86B870
accent
#D8507A
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #793597

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

Preview Lab → · Contrast checker → · Palette generator →

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