#796E8A#796E8A

#796E8A is a mid, muted violet. Relative luminance 0.171; OKLCH L 55.8% C 0.045 H 302.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#796E8A
RGBrgb(121, 110, 138)
HSLhsl(264, 11%, 49%)
HSVhsv(264, 20%, 54%)
CMYKcmyk(12.3%, 20.3%, 0%, 45.9%)
CIE-LABlab(48.33, 10.12, -13.78)
CIE-LCHlch(48.33, 17.09, 306.30°)
OKLaboklab(55.84% 0.0242 -0.0374)
OKLCHoklch(55.84% 0.045 302.9)
XYZxyz(18.0477, 17.0518, 26.3804)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E8A #7F8A6E
analogous
#6E718A #796E8A #876E8A
triadic
#796E8A #8A796E #6E8A79
tetradic
#796E8A #8A6E71 #7F8A6E #6E8A87
square
#796E8A #8A6E71 #7F8A6E #6E8A87
split-complementary
#796E8A #8A876E #718A6E
monochromatic
#3D3846 #5B5368 #796E8A #988FA6 #B8B1C1

Accessibility & contrast

On white

4.76
#796E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#796E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796E8A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796E8A#FFFFFF#000000##FFFFFF
##796E8A1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#69728B
Deuteranopia (green-blind)
#6B7389
Tritanopia (blue-blind)
#767277
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #796e8a;
/* rgb */ color: rgb(121, 110, 138);
/* oklch */ color: oklch(55.8% 0.045 302.9);
Tailwind
colors: {
  custom: {
    50: '#a097ac',
    500: '#796e8a',
    950: '#000000',
  },
}
SCSS
$custom: #796e8a;
$custom-light: #a097ac;
$custom-dark: #000000;
JSON
{
  "hex": "#796e8a",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 138
  },
  "hsl": {
    "h": 263.571,
    "s": 11.29,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55839,
    "c": 0.04453,
    "h": 302.9
  },
  "luminance": 0.17052
}

Semantic roles & 50–950 ramp

primary
#796E8A
secondary
#ABB1A3
accent
#B4749B
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0D10
muted
#7E7E7F

Preview Lab

Preview with #796E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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