#793C8A#793C8A

#793C8A is a mid, vivid purple. Relative luminance 0.091; OKLCH L 46.7% C 0.136 H 318.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#793C8A
RGBrgb(121, 60, 138)
HSLhsl(287, 39%, 39%)
HSVhsv(287, 57%, 54%)
CMYKcmyk(12.3%, 56.5%, 0%, 45.9%)
CIE-LABlab(36.24, 39.45, -32.50)
CIE-LCHlch(36.24, 51.11, 320.51°)
OKLaboklab(46.69% 0.1021 -0.0904)
OKLCHoklch(46.69% 0.136 318.5)
XYZxyz(14.0878, 9.1322, 25.0604)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793C8A #4D8A3C
analogous
#523C8A #793C8A #8A3C74
triadic
#793C8A #8A793C #3C8A79
tetradic
#793C8A #8A523C #4D8A3C #3C748A
square
#793C8A #8A523C #4D8A3C #3C748A
split-complementary
#793C8A #748A3C #3C8A52
monochromatic
#2E1735 #54295F #793C8A #9D50B3 #B57BC6

Accessibility & contrast

On white

7.43
#793C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#793C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793C8A
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793C8A#FFFFFF#000000##FFFFFF
##793C8A1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B518D
Deuteranopia (green-blind)
#405788
Tritanopia (blue-blind)
#79485D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #793c8a;
/* rgb */ color: rgb(121, 60, 138);
/* oklch */ color: oklch(46.7% 0.136 318.5);
Tailwind
colors: {
  custom: {
    50: '#a275ac',
    500: '#793c8a',
    950: '#000000',
  },
}
SCSS
$custom: #793c8a;
$custom-light: #a275ac;
$custom-dark: #000000;
JSON
{
  "hex": "#793c8a",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 286.923,
    "s": 39.394,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46694,
    "c": 0.13639,
    "h": 318.5
  },
  "luminance": 0.09132
}

Semantic roles & 50–950 ramp

primary
#793C8A
secondary
#80AF73
accent
#CF5972
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #793C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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