#795B85#795B85

#795B85 is a mid, moderate purple. Relative luminance 0.132; OKLCH L 51.8% C 0.074 H 316.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#795B85
RGBrgb(121, 91, 133)
HSLhsl(283, 19%, 44%)
HSVhsv(283, 32%, 52%)
CMYKcmyk(9%, 31.6%, 0%, 47.8%)
CIE-LABlab(43.12, 20.42, -18.72)
CIE-LCHlch(43.12, 27.70, 317.49°)
OKLaboklab(51.78% 0.0531 -0.0511)
OKLCHoklch(51.78% 0.074 316.1)
XYZxyz(15.8592, 13.2409, 23.9061)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795B85 #67855B
analogous
#645B85 #795B85 #855B7C
triadic
#795B85 #85795B #5B8579
tetradic
#795B85 #85645B #67855B #5B7C85
square
#795B85 #85645B #67855B #5B7C85
split-complementary
#795B85 #7C855B #5B8564
monochromatic
#37293C #584261 #795B85 #987AA4 #B49EBD

Accessibility & contrast

On white

5.76
#795B85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#795B85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795B85
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795B85#FFFFFF#000000##FFFFFF
##795B851.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #795b85;
/* rgb */ color: rgb(121, 91, 133);
/* oklch */ color: oklch(51.8% 0.074 316.1);
Tailwind
colors: {
  custom: {
    50: '#a089a8',
    500: '#795b85',
    950: '#000000',
  },
}
SCSS
$custom: #795b85;
$custom-light: #a089a8;
$custom-dark: #000000;
JSON
{
  "hex": "#795b85",
  "rgb": {
    "r": 121,
    "g": 91,
    "b": 133
  },
  "hsl": {
    "h": 282.857,
    "s": 18.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51775,
    "c": 0.07368,
    "h": 316.1
  },
  "luminance": 0.13241
}

Semantic roles & 50–950 ramp

primary
#795B85
secondary
#98AB91
accent
#BB6C83
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0F0B0F
muted
#7E7C7F

Preview Lab

Preview with #795B85

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

Preview Lab → · Contrast checker → · Palette generator →

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