#795E8A#795E8A

#795E8A is a mid, moderate violet. Relative luminance 0.139; OKLCH L 52.6% C 0.074 H 311.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#795E8A
RGBrgb(121, 94, 138)
HSLhsl(277, 19%, 45%)
HSVhsv(277, 32%, 54%)
CMYKcmyk(12.3%, 31.9%, 0%, 45.9%)
CIE-LABlab(44.10, 19.74, -20.23)
CIE-LCHlch(44.10, 28.27, 314.29°)
OKLaboklab(52.59% 0.0497 -0.0554)
OKLCHoklch(52.59% 0.074 311.9)
XYZxyz(16.4745, 13.9056, 25.8560)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#795E8A #6F8A5E
analogous
#635E8A #795E8A #8A5E85
triadic
#795E8A #8A795E #5E8A79
tetradic
#795E8A #8A635E #6F8A5E #5E858A
square
#795E8A #8A635E #6F8A5E #5E858A
split-complementary
#795E8A #858A5E #5E8A63
monochromatic
#392C41 #594566 #795E8A #977EA7 #B5A2C0

Accessibility & contrast

On white

5.55
#795E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#795E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #795E8A
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##795E8A#FFFFFF#000000##FFFFFF
##795E8A1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57678C
Deuteranopia (green-blind)
#5D6989
Tritanopia (blue-blind)
#77646E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #795e8a;
/* rgb */ color: rgb(121, 94, 138);
/* oklch */ color: oklch(52.6% 0.074 311.9);
Tailwind
colors: {
  custom: {
    50: '#a08cac',
    500: '#795e8a',
    950: '#000000',
  },
}
SCSS
$custom: #795e8a;
$custom-light: #a08cac;
$custom-dark: #000000;
JSON
{
  "hex": "#795e8a",
  "rgb": {
    "r": 121,
    "g": 94,
    "b": 138
  },
  "hsl": {
    "h": 276.818,
    "s": 18.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52586,
    "c": 0.07444,
    "h": 311.9
  },
  "luminance": 0.13905
}

Semantic roles & 50–950 ramp

primary
#795E8A
secondary
#9FAE96
accent
#BC6C8B
background
#F9F8FA
surface
#F2F0F4
border
#CCCBCE
text
#0F0C10
muted
#7E7D7F

Preview Lab

Preview with #795E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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