#795F86#795F86

#795F86 is a mid, moderate purple. Relative luminance 0.140; OKLCH L 52.6% C 0.067 H 314.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#795F86
RGBrgb(121, 95, 134)
HSLhsl(280, 17%, 45%)
HSVhsv(280, 29%, 53%)
CMYKcmyk(9.7%, 29.1%, 0%, 47.5%)
CIE-LABlab(44.19, 18.23, -17.68)
CIE-LCHlch(44.19, 25.40, 315.88°)
OKLaboklab(52.6% 0.0469 -0.0482)
OKLCHoklch(52.6% 0.067 314.2)
XYZxyz(16.2798, 13.9708, 24.3887)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795F86 #6C865F
analogous
#655F86 #795F86 #865F80
triadic
#795F86 #86795F #5F8679
tetradic
#795F86 #86655F #6C865F #5F8086
square
#795F86 #86655F #6C865F #5F8086
split-complementary
#795F86 #80865F #5F8665
monochromatic
#382C3E #594662 #795F86 #977EA4 #B4A2BD

Accessibility & contrast

On white

5.53
#795F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#795F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795F86
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795F86#FFFFFF#000000##FFFFFF
##795F861.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596788
Deuteranopia (green-blind)
#5F6985
Tritanopia (blue-blind)
#78646D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #795f86;
/* rgb */ color: rgb(121, 95, 134);
/* oklch */ color: oklch(52.6% 0.067 314.2);
Tailwind
colors: {
  custom: {
    50: '#a08ca9',
    500: '#795f86',
    950: '#000000',
  },
}
SCSS
$custom: #795f86;
$custom-light: #a08ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#795f86",
  "rgb": {
    "r": 121,
    "g": 95,
    "b": 134
  },
  "hsl": {
    "h": 280,
    "s": 17.031,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52604,
    "c": 0.06727,
    "h": 314.2
  },
  "luminance": 0.13971
}

Semantic roles & 50–950 ramp

primary
#795F86
secondary
#9DAC95
accent
#BA6E87
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C10
muted
#7E7D7F

Preview Lab

Preview with #795F86

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

Preview Lab → · Contrast checker → · Palette generator →

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