#795B82#795B82

#795B82 is a mid, moderate purple. Relative luminance 0.132; OKLCH L 51.6% C 0.070 H 318.3°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#795B82
RGBrgb(121, 91, 130)
HSLhsl(286, 18%, 43%)
HSVhsv(286, 30%, 51%)
CMYKcmyk(6.9%, 30%, 0%, 49%)
CIE-LABlab(43.00, 19.76, -17.09)
CIE-LCHlch(43.00, 26.12, 319.14°)
OKLaboklab(51.64% 0.0522 -0.0465)
OKLCHoklch(51.64% 0.07 318.3)
XYZxyz(15.6549, 13.1592, 22.8301)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795B82 #64825B
analogous
#655B82 #795B82 #825B77
triadic
#795B82 #82795B #5B8279
tetradic
#795B82 #82655B #64825B #5B7782
square
#795B82 #82655B #64825B #5B7782
split-complementary
#795B82 #77825B #5B8265
monochromatic
#36293A #57425E #795B82 #9879A1 #B49DBA

Accessibility & contrast

On white

5.78
#795B82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#795B82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795B82
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795B82#FFFFFF#000000##FFFFFF
##795B821.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#566484
Deuteranopia (green-blind)
#5D6781
Tritanopia (blue-blind)
#795F69
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #795b82;
/* rgb */ color: rgb(121, 91, 130);
/* oklch */ color: oklch(51.6% 0.070 318.3);
Tailwind
colors: {
  custom: {
    50: '#a089a6',
    500: '#795b82',
    950: '#000000',
  },
}
SCSS
$custom: #795b82;
$custom-light: #a089a6;
$custom-dark: #000000;
JSON
{
  "hex": "#795b82",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 130
  },
  "hsl": {
    "h": 286.154,
    "s": 17.647,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51642,
    "c": 0.0699,
    "h": 318.3
  },
  "luminance": 0.13159
}

Semantic roles & 50–950 ramp

primary
#795B82
secondary
#96A990
accent
#BA6D7F
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #795B82

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

Preview Lab → · Contrast checker → · Palette generator →

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