#796D99#796D99

#796D99 is a mid, moderate violet. Relative luminance 0.173; OKLCH L 56.3% C 0.068 H 296.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#796D99
RGBrgb(121, 109, 153)
HSLhsl(256, 18%, 51%)
HSVhsv(256, 29%, 60%)
CMYKcmyk(20.9%, 28.8%, 0%, 40%)
CIE-LABlab(48.64, 14.26, -22.17)
CIE-LCHlch(48.64, 26.36, 302.76°)
OKLaboklab(56.27% 0.0306 -0.061)
OKLCHoklch(56.27% 0.068 296.7)
XYZxyz(19.1023, 17.3020, 32.4641)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796D99 #8D996D
analogous
#6D7799 #796D99 #8F6D99
triadic
#796D99 #99796D #6D9979
tetradic
#796D99 #996D77 #8D996D #6D998F
square
#796D99 #996D77 #8D996D #6D998F
split-complementary
#796D99 #998F6D #77996D
monochromatic
#403952 #5C5376 #796D99 #9A91B2 #BBB5CB

Accessibility & contrast

On white

4.71
#796D99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#796D99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796D99
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796D99#FFFFFF#000000##FFFFFF
##796D991.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63749B
Deuteranopia (green-blind)
#657398
Tritanopia (blue-blind)
#73747D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #796d99;
/* rgb */ color: rgb(121, 109, 153);
/* oklch */ color: oklch(56.3% 0.068 296.7);
Tailwind
colors: {
  custom: {
    50: '#a096b7',
    500: '#796d99',
    950: '#000000',
  },
}
SCSS
$custom: #796d99;
$custom-light: #a096b7;
$custom-dark: #000000;
JSON
{
  "hex": "#796d99",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 153
  },
  "hsl": {
    "h": 256.364,
    "s": 17.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.56273,
    "c": 0.06827,
    "h": 296.7
  },
  "luminance": 0.17302
}

Semantic roles & 50–950 ramp

primary
#796D99
secondary
#B5BBA7
accent
#BA6DA5
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0F0D11
muted
#7E7E80

Preview Lab

Preview with #796D99

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

Preview Lab → · Contrast checker → · Palette generator →

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