#796E91#796E91

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

Color values

HEX#796E91
RGBrgb(121, 110, 145)
HSLhsl(259, 14%, 50%)
HSVhsv(259, 24%, 57%)
CMYKcmyk(16.6%, 24.1%, 0%, 43.1%)
CIE-LABlab(48.59, 11.74, -17.52)
CIE-LCHlch(48.59, 21.09, 303.83°)
OKLaboklab(56.13% 0.0266 -0.0479)
OKLCHoklch(56.13% 0.055 299)
XYZxyz(18.5709, 17.2611, 29.1359)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796E91 #86916E
analogous
#6E7591 #796E91 #8A6E91
triadic
#796E91 #91796E #6E9179
tetradic
#796E91 #916E75 #86916E #6E918A
square
#796E91 #916E75 #86916E #6E918A
split-complementary
#796E91 #918A6E #75916E
monochromatic
#3F394B #5C546E #796E91 #9991AB #B9B4C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796E91#FFFFFF#000000##FFFFFF
##796E911.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)
#677393
Deuteranopia (green-blind)
#697390
Tritanopia (blue-blind)
#75737A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #796e91;
/* rgb */ color: rgb(121, 110, 145);
/* oklch */ color: oklch(56.1% 0.055 299.0);
Tailwind
colors: {
  custom: {
    50: '#a097b1',
    500: '#796e91',
    950: '#000000',
  },
}
SCSS
$custom: #796e91;
$custom-light: #a097b1;
$custom-dark: #000000;
JSON
{
  "hex": "#796e91",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 145
  },
  "hsl": {
    "h": 258.857,
    "s": 13.725,
    "l": 50
  },
  "oklch": {
    "l": 0.56128,
    "c": 0.05476,
    "h": 299
  },
  "luminance": 0.17261
}

Semantic roles & 50–950 ramp

primary
#796E91
secondary
#B0B5A6
accent
#B771A1
background
#F9F9FA
surface
#F2F2F5
border
#CCCCCF
text
#0E0D10
muted
#7E7E7F

Preview Lab

Preview with #796E91

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

Preview Lab → · Contrast checker → · Palette generator →

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