#796F87#796F87

#796F87 is a mid, muted violet. Relative luminance 0.172; OKLCH L 55.9% C 0.038 H 304.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#796F87
RGBrgb(121, 111, 135)
HSLhsl(265, 10%, 48%)
HSVhsv(265, 18%, 53%)
CMYKcmyk(10.4%, 17.8%, 0%, 47.1%)
CIE-LABlab(48.49, 8.85, -11.75)
CIE-LCHlch(48.49, 14.71, 306.99°)
OKLaboklab(55.93% 0.0215 -0.0318)
OKLCHoklch(55.93% 0.038 304.1)
XYZxyz(17.9420, 17.1831, 25.2884)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796F87 #7D876F
analogous
#6F7187 #796F87 #856F87
triadic
#796F87 #87796F #6F8779
tetradic
#796F87 #876F71 #7D876F #6F8785
square
#796F87 #876F71 #7D876F #6F8785
split-complementary
#796F87 #87856F #71876F
monochromatic
#3D3844 #5B5365 #796F87 #9890A3 #B7B1BF

Accessibility & contrast

On white

4.73
#796F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#796F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796F87
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796F87#FFFFFF#000000##FFFFFF
##796F871.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B7388
Deuteranopia (green-blind)
#6D7386
Tritanopia (blue-blind)
#777277
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #796f87;
/* rgb */ color: rgb(121, 111, 135);
/* oklch */ color: oklch(55.9% 0.038 304.1);
Tailwind
colors: {
  custom: {
    50: '#9f98aa',
    500: '#796f87',
    950: '#000000',
  },
}
SCSS
$custom: #796f87;
$custom-light: #9f98aa;
$custom-dark: #000000;
JSON
{
  "hex": "#796f87",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 135
  },
  "hsl": {
    "h": 265,
    "s": 9.756,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55931,
    "c": 0.03837,
    "h": 304.1
  },
  "luminance": 0.17183
}

Semantic roles & 50–950 ramp

primary
#796F87
secondary
#AAAFA3
accent
#B37599
background
#F9F9FA
surface
#F2F2F4
border
#CCCCCE
text
#0E0D10
muted
#7E7E7F

Preview Lab

Preview with #796F87

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

Preview Lab → · Contrast checker → · Palette generator →

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