#796A95#796A95

#796A95 is a mid, moderate violet. Relative luminance 0.165; OKLCH L 55.5% C 0.068 H 300.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#796A95
RGBrgb(121, 106, 149)
HSLhsl(261, 17%, 50%)
HSVhsv(261, 29%, 58%)
CMYKcmyk(18.8%, 28.9%, 0%, 41.6%)
CIE-LABlab(47.68, 15.09, -21.28)
CIE-LCHlch(47.68, 26.09, 305.35°)
OKLaboklab(55.48% 0.034 -0.0585)
OKLCHoklch(55.48% 0.068 300.2)
XYZxyz(18.4629, 16.5429, 30.6484)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796A95 #86956A
analogous
#6A7095 #796A95 #8F6A95
triadic
#796A95 #95796A #6A9579
tetradic
#796A95 #956A70 #86956A #6A958F
square
#796A95 #956A70 #86956A #6A958F
split-complementary
#796A95 #958F6A #70956A
monochromatic
#3F374D #5C5171 #796A95 #998EAE #B9B2C8

Accessibility & contrast

On white

4.87
#796A95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#796A95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796A95
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796A95#FFFFFF#000000##FFFFFF
##796A951.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617197
Deuteranopia (green-blind)
#637194
Tritanopia (blue-blind)
#747079
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #796a95;
/* rgb */ color: rgb(121, 106, 149);
/* oklch */ color: oklch(55.5% 0.068 300.2);
Tailwind
colors: {
  custom: {
    50: '#a094b4',
    500: '#796a95',
    950: '#000000',
  },
}
SCSS
$custom: #796a95;
$custom-light: #a094b4;
$custom-dark: #000000;
JSON
{
  "hex": "#796a95",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 149
  },
  "hsl": {
    "h": 260.93,
    "s": 16.863,
    "l": 50
  },
  "oklch": {
    "l": 0.5548,
    "c": 0.06767,
    "h": 300.2
  },
  "luminance": 0.16543
}

Semantic roles & 50–950 ramp

primary
#796A95
secondary
#B0B7A4
accent
#BA6E9F
background
#F9F9FB
surface
#F2F1F6
border
#CCCBD0
text
#0F0D11
muted
#7E7E80

Preview Lab

Preview with #796A95

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

Preview Lab → · Contrast checker → · Palette generator →

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