#796F8A#796F8A

#796F8A is a mid, muted violet. Relative luminance 0.173; OKLCH L 56.0% C 0.043 H 301.9°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#796F8A
RGBrgb(121, 111, 138)
HSLhsl(262, 11%, 49%)
HSVhsv(262, 20%, 54%)
CMYKcmyk(12.3%, 19.6%, 0%, 45.9%)
CIE-LABlab(48.60, 9.52, -13.36)
CIE-LCHlch(48.60, 16.41, 305.48°)
OKLaboklab(56.05% 0.0226 -0.0363)
OKLCHoklch(56.05% 0.043 301.9)
XYZxyz(18.1562, 17.2688, 26.4165)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F8A #808A6F
analogous
#6F738A #796F8A #876F8A
triadic
#796F8A #8A796F #6F8A79
tetradic
#796F8A #8A6F73 #808A6F #6F8A87
square
#796F8A #8A6F73 #808A6F #6F8A87
split-complementary
#796F8A #8A876F #738A6F
monochromatic
#3E3846 #5B5468 #796F8A #9890A6 #B8B2C1

Accessibility & contrast

On white

4.72
#796F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#796F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F8A
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F8A#FFFFFF#000000##FFFFFF
##796F8A1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A738B
Deuteranopia (green-blind)
#6C7389
Tritanopia (blue-blind)
#767378
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #796f8a;
/* rgb */ color: rgb(121, 111, 138);
/* oklch */ color: oklch(56.0% 0.043 301.9);
Tailwind
colors: {
  custom: {
    50: '#a098ac',
    500: '#796f8a',
    950: '#000000',
  },
}
SCSS
$custom: #796f8a;
$custom-light: #a098ac;
$custom-dark: #000000;
JSON
{
  "hex": "#796f8a",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 138
  },
  "hsl": {
    "h": 262.222,
    "s": 10.843,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56049,
    "c": 0.04272,
    "h": 301.9
  },
  "luminance": 0.17269
}

Semantic roles & 50–950 ramp

primary
#796F8A
secondary
#ACB1A4
accent
#B4749C
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0D10
muted
#7E7E7F

Preview Lab

Preview with #796F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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