#795D81#795D81

#795D81 is a mid, moderate purple. Relative luminance 0.135; OKLCH L 52.0% C 0.065 H 318.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#795D81
RGBrgb(121, 93, 129)
HSLhsl(287, 16%, 44%)
HSVhsv(287, 28%, 51%)
CMYKcmyk(6.2%, 27.9%, 0%, 49.4%)
CIE-LABlab(43.48, 18.33, -15.76)
CIE-LCHlch(43.48, 24.18, 319.32°)
OKLaboklab(51.99% 0.0486 -0.0428)
OKLCHoklch(51.99% 0.065 318.6)
XYZxyz(15.7614, 13.4790, 22.5360)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795D81 #65815D
analogous
#675D81 #795D81 #815D77
triadic
#795D81 #81795D #5D8179
tetradic
#795D81 #81675D #65815D #5D7781
square
#795D81 #81675D #65815D #5D7781
split-complementary
#795D81 #77815D #5D8167
monochromatic
#362A3A #58435D #795D81 #987BA0 #B49FBA

Accessibility & contrast

On white

5.68
#795D81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#795D81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795D81
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795D81#FFFFFF#000000##FFFFFF
##795D811.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596582
Deuteranopia (green-blind)
#5F6880
Tritanopia (blue-blind)
#79616A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #795d81;
/* rgb */ color: rgb(121, 93, 129);
/* oklch */ color: oklch(52.0% 0.065 318.6);
Tailwind
colors: {
  custom: {
    50: '#a08ba5',
    500: '#795d81',
    950: '#000000',
  },
}
SCSS
$custom: #795d81;
$custom-light: #a08ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#795d81",
  "rgb": {
    "r": 121,
    "g": 93,
    "b": 129
  },
  "hsl": {
    "h": 286.667,
    "s": 16.216,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51991,
    "c": 0.06474,
    "h": 318.6
  },
  "luminance": 0.13479
}

Semantic roles & 50–950 ramp

primary
#795D81
secondary
#97A892
accent
#B96F7F
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C0F
muted
#7E7D7F

Preview Lab

Preview with #795D81

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

Preview Lab → · Contrast checker → · Palette generator →

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