#795E86#795E86

#795E86 is a mid, moderate purple. Relative luminance 0.138; OKLCH L 52.4% C 0.069 H 314.5°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#795E86
RGBrgb(121, 94, 134)
HSLhsl(281, 18%, 45%)
HSVhsv(281, 30%, 53%)
CMYKcmyk(9.7%, 29.9%, 0%, 47.5%)
CIE-LABlab(43.93, 18.84, -18.08)
CIE-LCHlch(43.93, 26.11, 316.17°)
OKLaboklab(52.41% 0.0485 -0.0493)
OKLCHoklch(52.41% 0.069 314.5)
XYZxyz(16.1903, 13.7918, 24.3588)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795E86 #6B865E
analogous
#655E86 #795E86 #865E7F
triadic
#795E86 #86795E #5E8679
tetradic
#795E86 #86655E #6B865E #5E7F86
square
#795E86 #86655E #6B865E #5E7F86
split-complementary
#795E86 #7F865E #5E8665
monochromatic
#382C3E #594562 #795E86 #977DA4 #B4A1BD

Accessibility & contrast

On white

5.59
#795E86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#795E86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795E86
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795E86#FFFFFF#000000##FFFFFF
##795E861.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586688
Deuteranopia (green-blind)
#5E6985
Tritanopia (blue-blind)
#78636C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #795e86;
/* rgb */ color: rgb(121, 94, 134);
/* oklch */ color: oklch(52.4% 0.069 314.5);
Tailwind
colors: {
  custom: {
    50: '#a08ca9',
    500: '#795e86',
    950: '#000000',
  },
}
SCSS
$custom: #795e86;
$custom-light: #a08ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#795e86",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 134
  },
  "hsl": {
    "h": 280.5,
    "s": 17.544,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52406,
    "c": 0.06919,
    "h": 314.5
  },
  "luminance": 0.13792
}

Semantic roles & 50–950 ramp

primary
#795E86
secondary
#9CAC94
accent
#BA6E86
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0E0C10
muted
#7E7D7F

Preview Lab

Preview with #795E86

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

Preview Lab → · Contrast checker → · Palette generator →

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