#795A86#795A86

#795A86 is a mid, moderate purple. Relative luminance 0.131; OKLCH L 51.6% C 0.077 H 315.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#795A86
RGBrgb(121, 90, 134)
HSLhsl(282, 20%, 44%)
HSVhsv(282, 33%, 53%)
CMYKcmyk(9.7%, 32.8%, 0%, 47.5%)
CIE-LABlab(42.91, 21.25, -19.65)
CIE-LCHlch(42.91, 28.94, 317.24°)
OKLaboklab(51.63% 0.055 -0.0537)
OKLCHoklch(51.63% 0.077 315.7)
XYZxyz(15.8437, 13.0988, 24.2433)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795A86 #67865A
analogous
#635A86 #795A86 #865A7D
triadic
#795A86 #86795A #5A8679
tetradic
#795A86 #86635A #67865A #5A7D86
square
#795A86 #86635A #67865A #5A7D86
split-complementary
#795A86 #7D865A #5A8663
monochromatic
#37293D #584161 #795A86 #9879A5 #B49DBD

Accessibility & contrast

On white

5.80
#795A86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#795A86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795A86
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795A86#FFFFFF#000000##FFFFFF
##795A861.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546388
Deuteranopia (green-blind)
#5B6685
Tritanopia (blue-blind)
#795F6A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #795a86;
/* rgb */ color: rgb(121, 90, 134);
/* oklch */ color: oklch(51.6% 0.077 315.7);
Tailwind
colors: {
  custom: {
    50: '#a089a9',
    500: '#795a86',
    950: '#000000',
  },
}
SCSS
$custom: #795a86;
$custom-light: #a089a9;
$custom-dark: #000000;
JSON
{
  "hex": "#795a86",
  "rgb": {
    "r": 121,
    "g": 90,
    "b": 134
  },
  "hsl": {
    "h": 282.273,
    "s": 19.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.07688,
    "h": 315.7
  },
  "luminance": 0.13099
}

Semantic roles & 50–950 ramp

primary
#795A86
secondary
#98AB91
accent
#BC6C83
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0F0B10
muted
#7E7C7F

Preview Lab

Preview with #795A86

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

Preview Lab → · Contrast checker → · Palette generator →

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