#793E8A#793E8A

#793E8A is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.0% C 0.133 H 318.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#793E8A
RGBrgb(121, 62, 138)
HSLhsl(287, 38%, 39%)
HSVhsv(287, 55%, 54%)
CMYKcmyk(12.3%, 55.1%, 0%, 45.9%)
CIE-LABlab(36.64, 38.37, -31.86)
CIE-LCHlch(36.64, 49.88, 320.30°)
OKLaboklab(46.99% 0.0992 -0.0886)
OKLCHoklch(46.99% 0.133 318.2)
XYZxyz(14.1946, 9.3457, 25.0960)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793E8A #4F8A3E
analogous
#533E8A #793E8A #8A3E75
triadic
#793E8A #8A793E #3E8A79
tetradic
#793E8A #8A533E #4F8A3E #3E758A
square
#793E8A #8A533E #4F8A3E #3E758A
split-complementary
#793E8A #758A3E #3E8A53
monochromatic
#2F1836 #542B60 #793E8A #9D53B2 #B57EC5

Accessibility & contrast

On white

7.32
#793E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#793E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #793E8A
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##793E8A#FFFFFF#000000##FFFFFF
##793E8A1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528D
Deuteranopia (green-blind)
#425888
Tritanopia (blue-blind)
#79495E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #793e8a;
/* rgb */ color: rgb(121, 62, 138);
/* oklch */ color: oklch(47.0% 0.133 318.2);
Tailwind
colors: {
  custom: {
    50: '#a276ac',
    500: '#793e8a',
    950: '#000000',
  },
}
SCSS
$custom: #793e8a;
$custom-light: #a276ac;
$custom-dark: #000000;
JSON
{
  "hex": "#793e8a",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 286.579,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46991,
    "c": 0.13304,
    "h": 318.2
  },
  "luminance": 0.09345
}

Semantic roles & 50–950 ramp

primary
#793E8A
secondary
#82AF75
accent
#CE5A74
background
#FAF7FA
surface
#F4EDF4
border
#CEC8CE
text
#0F0910
muted
#7F7B7F

Preview Lab

Preview with #793E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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