#795F7C#795F7C

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

Color values

HEX#795F7C
RGBrgb(121, 95, 124)
HSLhsl(294, 13%, 43%)
HSVhsv(294, 23%, 49%)
CMYKcmyk(2.4%, 23.4%, 0%, 51.4%)
CIE-LABlab(43.81, 16.06, -12.23)
CIE-LCHlch(43.81, 20.19, 322.70°)
OKLaboklab(52.18% 0.0436 -0.033)
OKLCHoklch(52.18% 0.055 322.9)
XYZxyz(15.6150, 13.7049, 20.8876)
Luminance0.1371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795F7C #627C5F
analogous
#6A5F7C #795F7C #7C5F70
triadic
#795F7C #7C795F #5F7C79
tetradic
#795F7C #7C6A5F #627C5F #5F707C
square
#795F7C #7C6A5F #627C5F #5F707C
split-complementary
#795F7C #707C5F #5F7C6A
monochromatic
#352A37 #574459 #795F7C #987D9B #B4A0B6

Accessibility & contrast

On white

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

On black

3.74
#795F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##795F7C#FFFFFF#000000##FFFFFF
##795F7C1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #795f7c;
/* rgb */ color: rgb(121, 95, 124);
/* oklch */ color: oklch(52.2% 0.055 322.9);
Tailwind
colors: {
  custom: {
    50: '#a08ca2',
    500: '#795f7c',
    950: '#000000',
  },
}
SCSS
$custom: #795f7c;
$custom-light: #a08ca2;
$custom-dark: #000000;
JSON
{
  "hex": "#795f7c",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 124
  },
  "hsl": {
    "h": 293.793,
    "s": 13.242,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52182,
    "c": 0.05468,
    "h": 322.9
  },
  "luminance": 0.13705
}

Semantic roles & 50–950 ramp

primary
#795F7C
secondary
#94A592
accent
#B67279
background
#F9F8F9
surface
#F2F0F2
border
#CCCBCC
text
#0E0C0F
muted
#7E7D7E

Preview Lab

Preview with #795F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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