#796FA6#796FA6

#796FA6 is a mid, moderate violet. Relative luminance 0.182; OKLCH L 57.3% C 0.084 H 291.9°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#796FA6
RGBrgb(121, 111, 166)
HSLhsl(251, 24%, 54%)
HSVhsv(251, 33%, 65%)
CMYKcmyk(27.1%, 33.1%, 0%, 34.9%)
CIE-LABlab(49.72, 16.33, -28.12)
CIE-LCHlch(49.72, 32.51, 300.15°)
OKLaboklab(57.29% 0.0313 -0.078)
OKLCHoklch(57.29% 0.084 291.9)
XYZxyz(20.4508, 18.1867, 38.5019)
Luminance0.1819 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FA6 #9CA66F
analogous
#6F81A6 #796FA6 #956FA6
triadic
#796FA6 #A6796F #6FA679
tetradic
#796FA6 #A66F81 #9CA66F #6FA695
square
#796FA6 #A66F81 #9CA66F #6FA695
split-complementary
#796FA6 #A6956F #81A66F
monochromatic
#423B60 #5C5285 #796FA6 #9C95BD #BFBBD5

Accessibility & contrast

On white

4.53
#796FA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#796FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FA6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FA6#FFFFFF#000000##000000
##796FA61.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6177A8
Deuteranopia (green-blind)
#6175A5
Tritanopia (blue-blind)
#6F7883
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #796fa6;
/* rgb */ color: rgb(121, 111, 166);
/* oklch */ color: oklch(57.3% 0.084 291.9);
Tailwind
colors: {
  custom: {
    50: '#a198c0',
    500: '#796fa6',
    950: '#000000',
  },
}
SCSS
$custom: #796fa6;
$custom-light: #a198c0;
$custom-dark: #000000;
JSON
{
  "hex": "#796fa6",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 166
  },
  "hsl": {
    "h": 250.909,
    "s": 23.605,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57288,
    "c": 0.08406,
    "h": 291.9
  },
  "luminance": 0.18187
}

Semantic roles & 50–950 ramp

primary
#796FA6
secondary
#C0C4AD
accent
#C068B0
background
#FAF9FB
surface
#F3F2F7
border
#CDCCD0
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #796FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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