#793C8D#793C8D

#793C8D is a mid, vivid purple. Relative luminance 0.092; OKLCH L 46.9% C 0.140 H 317.1°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#793C8D
RGBrgb(121, 60, 141)
HSLhsl(285, 40%, 39%)
HSVhsv(285, 57%, 55%)
CMYKcmyk(14.2%, 57.4%, 0%, 44.7%)
CIE-LABlab(36.41, 40.10, -34.08)
CIE-LCHlch(36.41, 52.62, 319.64°)
OKLaboklab(46.87% 0.1023 -0.095)
OKLCHoklch(46.87% 0.14 317.1)
XYZxyz(14.3080, 9.2203, 26.2201)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793C8D #508D3C
analogous
#503C8D #793C8D #8D3C79
triadic
#793C8D #8D793C #3C8D79
tetradic
#793C8D #8D503C #508D3C #3C798D
square
#793C8D #8D503C #508D3C #3C798D
split-complementary
#793C8D #798D3C #3C8D50
monochromatic
#2F1737 #542A62 #793C8D #9C51B5 #B57CC7

Accessibility & contrast

On white

7.38
#793C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#793C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793C8D
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793C8D#FFFFFF#000000##FFFFFF
##793C8D1.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295290
Deuteranopia (green-blind)
#3E588B
Tritanopia (blue-blind)
#78495E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #793c8d;
/* rgb */ color: rgb(121, 60, 141);
/* oklch */ color: oklch(46.9% 0.140 317.1);
Tailwind
colors: {
  custom: {
    50: '#a275af',
    500: '#793c8d',
    950: '#000000',
  },
}
SCSS
$custom: #793c8d;
$custom-light: #a275af;
$custom-dark: #000000;
JSON
{
  "hex": "#793c8d",
  "rgb": {
    "r": 121,
    "g": 60,
    "b": 141
  },
  "hsl": {
    "h": 285.185,
    "s": 40.299,
    "l": 39.412
  },
  "oklch": {
    "l": 0.46871,
    "c": 0.13964,
    "h": 317.1
  },
  "luminance": 0.0922
}

Semantic roles & 50–950 ramp

primary
#793C8D
secondary
#83B174
accent
#D05875
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0810
muted
#7F7B7F

Preview Lab

Preview with #793C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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