#796A94#796A94

#796A94 is a mid, moderate violet. Relative luminance 0.165; OKLCH L 55.4% C 0.066 H 300.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#796A94
RGBrgb(121, 106, 148)
HSLhsl(261, 17%, 50%)
HSVhsv(261, 28%, 58%)
CMYKcmyk(18.2%, 28.4%, 0%, 42%)
CIE-LABlab(47.64, 14.85, -20.75)
CIE-LCHlch(47.64, 25.52, 305.59°)
OKLaboklab(55.44% 0.0337 -0.057)
OKLCHoklch(55.44% 0.066 300.6)
XYZxyz(18.3834, 16.5111, 30.2297)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796A94 #85946A
analogous
#6A7094 #796A94 #8E6A94
triadic
#796A94 #94796A #6A9479
tetradic
#796A94 #946A70 #85946A #6A948E
square
#796A94 #946A70 #85946A #6A948E
split-complementary
#796A94 #948E6A #70946A
monochromatic
#3F374D #5C5070 #796A94 #998DAE #B9B1C7

Accessibility & contrast

On white

4.88
#796A94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#796A94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796A94
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796A94#FFFFFF#000000##FFFFFF
##796A941.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #796a94;
/* rgb */ color: rgb(121, 106, 148);
/* oklch */ color: oklch(55.4% 0.066 300.6);
Tailwind
colors: {
  custom: {
    50: '#a094b3',
    500: '#796a94',
    950: '#000000',
  },
}
SCSS
$custom: #796a94;
$custom-light: #a094b3;
$custom-dark: #000000;
JSON
{
  "hex": "#796a94",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 148
  },
  "hsl": {
    "h": 261.429,
    "s": 16.535,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55435,
    "c": 0.06622,
    "h": 300.6
  },
  "luminance": 0.16511
}

Semantic roles & 50–950 ramp

primary
#796A94
secondary
#B0B6A3
accent
#B96F9F
background
#F9F9FB
surface
#F2F1F6
border
#CCCBD0
text
#0E0D11
muted
#7E7E80

Preview Lab

Preview with #796A94

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

Preview Lab → · Contrast checker → · Palette generator →

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