#796D95#796D95

#796D95 is a mid, moderate violet. Relative luminance 0.172; OKLCH L 56.1% C 0.062 H 298.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#796D95
RGBrgb(121, 109, 149)
HSLhsl(258, 16%, 51%)
HSVhsv(258, 27%, 58%)
CMYKcmyk(18.8%, 26.8%, 0%, 41.6%)
CIE-LABlab(48.48, 13.29, -20.06)
CIE-LCHlch(48.48, 24.06, 303.54°)
OKLaboklab(56.09% 0.0294 -0.055)
OKLCHoklch(56.09% 0.062 298.1)
XYZxyz(18.7774, 17.1721, 30.7532)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796D95 #89956D
analogous
#6D7595 #796D95 #8D6D95
triadic
#796D95 #95796D #6D9579
tetradic
#796D95 #956D75 #89956D #6D958D
square
#796D95 #956D75 #89956D #6D958D
split-complementary
#796D95 #958D6D #75956D
monochromatic
#3F394F #5C5372 #796D95 #9A90AF #BAB4C8

Accessibility & contrast

On white

4.74
#796D95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#796D95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796D95
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796D95#FFFFFF#000000##FFFFFF
##796D951.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647397
Deuteranopia (green-blind)
#667394
Tritanopia (blue-blind)
#74737B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #796d95;
/* rgb */ color: rgb(121, 109, 149);
/* oklch */ color: oklch(56.1% 0.062 298.1);
Tailwind
colors: {
  custom: {
    50: '#a096b4',
    500: '#796d95',
    950: '#000000',
  },
}
SCSS
$custom: #796d95;
$custom-light: #a096b4;
$custom-dark: #000000;
JSON
{
  "hex": "#796d95",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 149
  },
  "hsl": {
    "h": 258,
    "s": 15.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56094,
    "c": 0.06239,
    "h": 298.1
  },
  "luminance": 0.17172
}

Semantic roles & 50–950 ramp

primary
#796D95
secondary
#B2B8A6
accent
#B96FA3
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0E0D11
muted
#7E7E80

Preview Lab

Preview with #796D95

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

Preview Lab → · Contrast checker → · Palette generator →

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