#795F7D#795F7D

#795F7D is a mid, muted purple. Relative luminance 0.137; OKLCH L 52.2% C 0.056 H 321.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#795F7D
RGBrgb(121, 95, 125)
HSLhsl(292, 14%, 43%)
HSVhsv(292, 24%, 49%)
CMYKcmyk(3.2%, 24%, 0%, 51%)
CIE-LABlab(43.84, 16.27, -12.78)
CIE-LCHlch(43.84, 20.69, 321.85°)
OKLaboklab(52.22% 0.044 -0.0345)
OKLCHoklch(52.22% 0.056 321.9)
XYZxyz(15.6786, 13.7304, 21.2224)
Luminance0.1373 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795F7D #637D5F
analogous
#6A5F7D #795F7D #7D5F72
triadic
#795F7D #7D795F #5F7D79
tetradic
#795F7D #7D6A5F #637D5F #5F727D
square
#795F7D #7D6A5F #637D5F #5F727D
split-complementary
#795F7D #727D5F #5F7D6A
monochromatic
#362A37 #57455A #795F7D #987D9C #B4A0B7

Accessibility & contrast

On white

5.61
#795F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#795F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795F7D
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795F7D#FFFFFF#000000##FFFFFF
##795F7D1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C667E
Deuteranopia (green-blind)
#62697C
Tritanopia (blue-blind)
#7A6269
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #795f7d;
/* rgb */ color: rgb(121, 95, 125);
/* oklch */ color: oklch(52.2% 0.056 321.9);
Tailwind
colors: {
  custom: {
    50: '#a08ca2',
    500: '#795f7d',
    950: '#000000',
  },
}
SCSS
$custom: #795f7d;
$custom-light: #a08ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#795f7d",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 125
  },
  "hsl": {
    "h": 292,
    "s": 13.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52223,
    "c": 0.05589,
    "h": 321.9
  },
  "luminance": 0.1373
}

Semantic roles & 50–950 ramp

primary
#795F7D
secondary
#95A592
accent
#B6717B
background
#F9F8FA
surface
#F2F0F3
border
#CCCBCD
text
#0E0C0F
muted
#7E7D7F

Preview Lab

Preview with #795F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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