#795D7E#795D7E

#795D7E is a mid, moderate purple. Relative luminance 0.134; OKLCH L 51.9% C 0.061 H 321.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#795D7E
RGBrgb(121, 93, 126)
HSLhsl(291, 15%, 43%)
HSVhsv(291, 26%, 49%)
CMYKcmyk(4%, 26.2%, 0%, 50.6%)
CIE-LABlab(43.36, 17.69, -14.12)
CIE-LCHlch(43.36, 22.63, 321.40°)
OKLaboklab(51.86% 0.0476 -0.0382)
OKLCHoklch(51.86% 0.061 321.2)
XYZxyz(15.5649, 13.4004, 21.5012)
Luminance0.1340 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795D7E #627E5D
analogous
#685D7E #795D7E #7E5D72
triadic
#795D7E #7E795D #5D7E79
tetradic
#795D7E #7E685D #627E5D #5D727E
square
#795D7E #7E685D #627E5D #5D727E
split-complementary
#795D7E #727E5D #5D7E68
monochromatic
#352938 #57435B #795D7E #987B9D #B49EB7

Accessibility & contrast

On white

5.71
#795D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#795D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795D7E
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795D7E#FFFFFF#000000##FFFFFF
##795D7E1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A647F
Deuteranopia (green-blind)
#60687D
Tritanopia (blue-blind)
#7A6069
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #795d7e;
/* rgb */ color: rgb(121, 93, 126);
/* oklch */ color: oklch(51.9% 0.061 321.2);
Tailwind
colors: {
  custom: {
    50: '#a08ba3',
    500: '#795d7e',
    950: '#000000',
  },
}
SCSS
$custom: #795d7e;
$custom-light: #a08ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#795d7e",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 126
  },
  "hsl": {
    "h": 290.909,
    "s": 15.068,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51864,
    "c": 0.06105,
    "h": 321.2
  },
  "luminance": 0.134
}

Semantic roles & 50–950 ramp

primary
#795D7E
secondary
#94A691
accent
#B8707B
background
#F9F8FA
surface
#F2F0F3
border
#CCCBCD
text
#0E0C0F
muted
#7E7D7F

Preview Lab

Preview with #795D7E

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

Preview Lab → · Contrast checker → · Palette generator →

#795D7E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva