#793E7B#793E7B

#793E7B is a mid, moderate purple. Relative luminance 0.089; OKLCH L 46.2% C 0.117 H 326.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#793E7B
RGBrgb(121, 62, 123)
HSLhsl(298, 33%, 36%)
HSVhsv(298, 50%, 48%)
CMYKcmyk(1.6%, 49.6%, 0%, 51.8%)
CIE-LABlab(35.87, 35.24, -23.81)
CIE-LCHlch(35.87, 42.53, 325.95°)
OKLaboklab(46.17% 0.0971 -0.0654)
OKLCHoklch(46.17% 0.117 326.1)
XYZxyz(13.1827, 8.9409, 19.7664)
Luminance0.0894 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#793E7B #407B3E
analogous
#5B3E7B #793E7B #7B3E5F
triadic
#793E7B #7B793E #3E7B79
tetradic
#793E7B #7B5B3E #407B3E #3E5F7B
square
#793E7B #7B5B3E #407B3E #3E5F7B
split-complementary
#793E7B #5F7B3E #3E7B5B
monochromatic
#29152A #512952 #793E7B #A153A4 #B978BB

Accessibility & contrast

On white

7.53
#793E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#793E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##793E7B#FFFFFF#000000##FFFFFF
##793E7B1.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)
#38507D
Deuteranopia (green-blind)
#495779
Tritanopia (blue-blind)
#7C4557
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #793e7b;
/* rgb */ color: rgb(121, 62, 123);
/* oklch */ color: oklch(46.2% 0.117 326.1);
Tailwind
colors: {
  custom: {
    50: '#a176a1',
    500: '#793e7b',
    950: '#000000',
  },
}
SCSS
$custom: #793e7b;
$custom-light: #a176a1;
$custom-dark: #000000;
JSON
{
  "hex": "#793e7b",
  "rgb": {
    "r": 121,
    "g": 62,
    "b": 123
  },
  "hsl": {
    "h": 298.033,
    "s": 32.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.46169,
    "c": 0.11708,
    "h": 326.1
  },
  "luminance": 0.0894
}

Semantic roles & 50–950 ramp

primary
#793E7B
secondary
#71A56F
accent
#C95F62
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#0F080F
muted
#7F7B7E

Preview Lab

Preview with #793E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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