#795F78#795F78

#795F78 is a mid, muted purple. Relative luminance 0.136; OKLCH L 52.0% C 0.050 H 327.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#795F78
RGBrgb(121, 95, 120)
HSLhsl(302, 12%, 42%)
HSVhsv(302, 21%, 47%)
CMYKcmyk(0%, 21.5%, 0.8%, 52.5%)
CIE-LABlab(43.66, 15.22, -10.03)
CIE-LCHlch(43.66, 18.23, 326.63°)
OKLaboklab(52.02% 0.0422 -0.0269)
OKLCHoklch(52.02% 0.05 327.5)
XYZxyz(15.3672, 13.6058, 19.5823)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795F78 #5F7960
analogous
#6D5F79 #795F78 #795F6B
triadic
#795F78 #78795F #5F7879
tetradic
#795F78 #796D5F #5F7960 #5F6B79
square
#795F78 #796D5F #5F7960 #5F6B79
split-complementary
#795F78 #6B795F #5F796D
monochromatic
#342934 #574456 #795F78 #997D98 #B49FB3

Accessibility & contrast

On white

5.64
#795F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#795F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795F78
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795F78#FFFFFF#000000##FFFFFF
##795F781.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6579
Deuteranopia (green-blind)
#636877
Tritanopia (blue-blind)
#7B6168
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #795f78;
/* rgb */ color: rgb(121, 95, 120);
/* oklch */ color: oklch(52.0% 0.050 327.5);
Tailwind
colors: {
  custom: {
    50: '#a08c9f',
    500: '#795f78',
    950: '#000000',
  },
}
SCSS
$custom: #795f78;
$custom-light: #a08c9f;
$custom-dark: #000000;
JSON
{
  "hex": "#795f78",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 120
  },
  "hsl": {
    "h": 302.308,
    "s": 12.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52023,
    "c": 0.05005,
    "h": 327.5
  },
  "luminance": 0.13605
}

Semantic roles & 50–950 ramp

primary
#795F78
secondary
#91A292
accent
#B57573
background
#F9F8F9
surface
#F2F0F2
border
#CCCBCC
text
#0E0C0E
muted
#7E7D7E

Preview Lab

Preview with #795F78

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

Preview Lab → · Contrast checker → · Palette generator →

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