#793B85#793B85

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

Color values

HEX#793B85
RGBrgb(121, 59, 133)
HSLhsl(290, 39%, 38%)
HSVhsv(290, 56%, 52%)
CMYKcmyk(9%, 55.6%, 0%, 47.8%)
CIE-LABlab(35.77, 38.92, -30.17)
CIE-LCHlch(35.77, 49.24, 322.22°)
OKLaboklab(46.26% 0.103 -0.0837)
OKLCHoklch(46.26% 0.133 320.9)
XYZxyz(13.6823, 8.8869, 23.1804)
Luminance0.0889 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793B85 #47853B
analogous
#543B85 #793B85 #853B6C
triadic
#793B85 #85793B #3B8579
tetradic
#793B85 #85543B #47853B #3B6C85
square
#793B85 #85543B #47853B #3B6C85
split-complementary
#793B85 #6C853B #3B8554
monochromatic
#2C1530 #52285B #793B85 #A04EAF #B778C3

Accessibility & contrast

On white

7.56
#793B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #793B85
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793B85#FFFFFF#000000##FFFFFF
##793B851.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5087
Deuteranopia (green-blind)
#425683
Tritanopia (blue-blind)
#7A455A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #793b85;
/* rgb */ color: rgb(121, 59, 133);
/* oklch */ color: oklch(46.3% 0.133 320.9);
Tailwind
colors: {
  custom: {
    50: '#a274a9',
    500: '#793b85',
    950: '#000000',
  },
}
SCSS
$custom: #793b85;
$custom-light: #a274a9;
$custom-dark: #000000;
JSON
{
  "hex": "#793b85",
  "rgb": {
    "r": 121,
    "g": 59,
    "b": 133
  },
  "hsl": {
    "h": 290.27,
    "s": 38.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46259,
    "c": 0.13273,
    "h": 320.9
  },
  "luminance": 0.08886
}

Semantic roles & 50–950 ramp

primary
#793B85
secondary
#79AC6F
accent
#CE596C
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #793B85

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

Preview Lab → · Contrast checker → · Palette generator →

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