#795B84#795B84

#795B84 is a mid, moderate purple. Relative luminance 0.132; OKLCH L 51.7% C 0.072 H 316.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#795B84
RGBrgb(121, 91, 132)
HSLhsl(284, 18%, 44%)
HSVhsv(284, 31%, 52%)
CMYKcmyk(8.3%, 31.1%, 0%, 48.2%)
CIE-LABlab(43.08, 20.20, -18.18)
CIE-LCHlch(43.08, 27.17, 318.02°)
OKLaboklab(51.73% 0.0528 -0.0496)
OKLCHoklch(51.73% 0.072 316.8)
XYZxyz(15.7905, 13.2134, 23.5439)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795B84 #66845B
analogous
#645B84 #795B84 #845B7A
triadic
#795B84 #84795B #5B8479
tetradic
#795B84 #84645B #66845B #5B7A84
square
#795B84 #84645B #66845B #5B7A84
split-complementary
#795B84 #7A845B #5B8464
monochromatic
#37293C #584260 #795B84 #9879A3 #B49EBC

Accessibility & contrast

On white

5.77
#795B84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#795B84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795B84
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795B84#FFFFFF#000000##FFFFFF
##795B841.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566486
Deuteranopia (green-blind)
#5C6783
Tritanopia (blue-blind)
#79606A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #795b84;
/* rgb */ color: rgb(121, 91, 132);
/* oklch */ color: oklch(51.7% 0.072 316.8);
Tailwind
colors: {
  custom: {
    50: '#a089a8',
    500: '#795b84',
    950: '#000000',
  },
}
SCSS
$custom: #795b84;
$custom-light: #a089a8;
$custom-dark: #000000;
JSON
{
  "hex": "#795b84",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 132
  },
  "hsl": {
    "h": 283.902,
    "s": 18.386,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5173,
    "c": 0.07241,
    "h": 316.8
  },
  "luminance": 0.13213
}

Semantic roles & 50–950 ramp

primary
#795B84
secondary
#98AA91
accent
#BB6D82
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #795B84

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

Preview Lab → · Contrast checker → · Palette generator →

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