#796A92#796A92

#796A92 is a mid, moderate violet. Relative luminance 0.164; OKLCH L 55.3% C 0.063 H 301.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#796A92
RGBrgb(121, 106, 146)
HSLhsl(263, 16%, 49%)
HSVhsv(263, 27%, 57%)
CMYKcmyk(17.1%, 27.4%, 0%, 42.7%)
CIE-LABlab(47.56, 14.38, -19.69)
CIE-LCHlch(47.56, 24.38, 306.13°)
OKLaboklab(55.35% 0.0331 -0.054)
OKLCHoklch(55.35% 0.063 301.5)
XYZxyz(18.2264, 16.4483, 29.4032)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796A92 #83926A
analogous
#6A6F92 #796A92 #8D6A92
triadic
#796A92 #92796A #6A9279
tetradic
#796A92 #926A6F #83926A #6A928D
square
#796A92 #926A6F #83926A #6A928D
split-complementary
#796A92 #928D6A #6F926A
monochromatic
#3E374B #5C506F #796A92 #998DAC #B9B0C6

Accessibility & contrast

On white

4.90
#796A92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#796A92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796A92
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796A92#FFFFFF#000000##FFFFFF
##796A921.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627194
Deuteranopia (green-blind)
#647191
Tritanopia (blue-blind)
#757078
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #796a92;
/* rgb */ color: rgb(121, 106, 146);
/* oklch */ color: oklch(55.3% 0.063 301.5);
Tailwind
colors: {
  custom: {
    50: '#a094b2',
    500: '#796a92',
    950: '#000000',
  },
}
SCSS
$custom: #796a92;
$custom-light: #a094b2;
$custom-dark: #000000;
JSON
{
  "hex": "#796a92",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 146
  },
  "hsl": {
    "h": 262.5,
    "s": 15.873,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55347,
    "c": 0.06333,
    "h": 301.5
  },
  "luminance": 0.16448
}

Semantic roles & 50–950 ramp

primary
#796A92
secondary
#AEB5A3
accent
#B96F9D
background
#F9F9FA
surface
#F2F1F5
border
#CCCBCF
text
#0E0D11
muted
#7E7E80

Preview Lab

Preview with #796A92

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

Preview Lab → · Contrast checker → · Palette generator →

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