#795E82#795E82

#795E82 is a mid, moderate purple. Relative luminance 0.137; OKLCH L 52.2% C 0.064 H 317.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#795E82
RGBrgb(121, 94, 130)
HSLhsl(285, 16%, 44%)
HSVhsv(285, 28%, 51%)
CMYKcmyk(6.9%, 27.7%, 0%, 49%)
CIE-LABlab(43.77, 17.95, -15.91)
CIE-LCHlch(43.77, 23.99, 318.45°)
OKLaboklab(52.23% 0.0473 -0.0432)
OKLCHoklch(52.23% 0.064 317.6)
XYZxyz(15.9165, 13.6824, 22.9173)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795E82 #67825E
analogous
#675E82 #795E82 #825E79
triadic
#795E82 #82795E #5E8279
tetradic
#795E82 #82675E #67825E #5E7982
square
#795E82 #82675E #67825E #5E7982
split-complementary
#795E82 #79825E #5E8267
monochromatic
#372B3B #58445E #795E82 #987DA1 #B4A0BA

Accessibility & contrast

On white

5.62
#795E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #795E82
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795E82#FFFFFF#000000##FFFFFF
##795E821.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6683
Deuteranopia (green-blind)
#5F6881
Tritanopia (blue-blind)
#79626B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #795e82;
/* rgb */ color: rgb(121, 94, 130);
/* oklch */ color: oklch(52.2% 0.064 317.6);
Tailwind
colors: {
  custom: {
    50: '#a08ca6',
    500: '#795e82',
    950: '#000000',
  },
}
SCSS
$custom: #795e82;
$custom-light: #a08ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#795e82",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 130
  },
  "hsl": {
    "h": 285,
    "s": 16.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52232,
    "c": 0.06406,
    "h": 317.6
  },
  "luminance": 0.13682
}

Semantic roles & 50–950 ramp

primary
#795E82
secondary
#98A993
accent
#B96F81
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C0F
muted
#7E7D7F

Preview Lab

Preview with #795E82

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

Preview Lab → · Contrast checker → · Palette generator →

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