#793697#793697

#793697 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 46.7% C 0.160 H 313.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#793697
RGBrgb(121, 54, 151)
HSLhsl(281, 47%, 40%)
HSVhsv(281, 64%, 59%)
CMYKcmyk(19.9%, 64.2%, 0%, 40.8%)
CIE-LABlab(35.86, 45.37, -41.03)
CIE-LCHlch(35.86, 61.18, 317.88°)
OKLaboklab(46.67% 0.1105 -0.1153)
OKLCHoklch(46.67% 0.16 313.8)
XYZxyz(14.7893, 8.9381, 30.2183)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793697 #549736
analogous
#483697 #793697 #973685
triadic
#793697 #977936 #369779
tetradic
#793697 #974836 #549736 #368597
square
#793697 #974836 #549736 #368597
split-complementary
#793697 #859736 #369748
monochromatic
#31163D #55266A #793697 #9B4BBF #B478CF

Accessibility & contrast

On white

7.53
#793697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#793697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793697
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793697#FFFFFF#000000##FFFFFF
##7936971.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E519A
Deuteranopia (green-blind)
#325695
Tritanopia (blue-blind)
#764861
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #793697;
/* rgb */ color: rgb(121, 54, 151);
/* oklch */ color: oklch(46.7% 0.160 313.8);
Tailwind
colors: {
  custom: {
    50: '#a371b6',
    500: '#793697',
    950: '#000000',
  },
}
SCSS
$custom: #793697;
$custom-light: #a371b6;
$custom-dark: #000000;
JSON
{
  "hex": "#793697",
  "rgb": {
    "r": 121,
    "g": 54,
    "b": 151
  },
  "hsl": {
    "h": 281.443,
    "s": 47.317,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4667,
    "c": 0.15972,
    "h": 313.8
  },
  "luminance": 0.08938
}

Semantic roles & 50–950 ramp

primary
#793697
secondary
#87B871
accent
#D7517A
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0811
muted
#7F7B80

Preview Lab

Preview with #793697

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

Preview Lab → · Contrast checker → · Palette generator →

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