#796EA9#796EA9

#796EA9 is a mid, moderate violet. Relative luminance 0.181; OKLCH L 57.2% C 0.090 H 291.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#796EA9
RGBrgb(121, 110, 169)
HSLhsl(251, 26%, 55%)
HSVhsv(251, 35%, 66%)
CMYKcmyk(28.4%, 34.9%, 0%, 33.7%)
CIE-LABlab(49.59, 17.71, -30.07)
CIE-LCHlch(49.59, 34.89, 300.50°)
OKLaboklab(57.24% 0.0335 -0.0836)
OKLCHoklch(57.24% 0.09 291.8)
XYZxyz(20.6207, 18.0810, 39.9320)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EA9 #9EA96E
analogous
#6E81A9 #796EA9 #966EA9
triadic
#796EA9 #A9796E #6EA979
tetradic
#796EA9 #A96E81 #9EA96E #6EA996
square
#796EA9 #A96E81 #9EA96E #6EA996
split-complementary
#796EA9 #A9966E #81A96E
monochromatic
#423A62 #5B5189 #796EA9 #9D94C0 #C0BBD7

Accessibility & contrast

On white

4.55
#796EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#796EA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EA9
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EA9#FFFFFF#000000##000000
##796EA91.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E77AB
Deuteranopia (green-blind)
#5F75A7
Tritanopia (blue-blind)
#6E7884
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #796ea9;
/* rgb */ color: rgb(121, 110, 169);
/* oklch */ color: oklch(57.2% 0.090 291.8);
Tailwind
colors: {
  custom: {
    50: '#a197c3',
    500: '#796ea9',
    950: '#000000',
  },
}
SCSS
$custom: #796ea9;
$custom-light: #a197c3;
$custom-dark: #000000;
JSON
{
  "hex": "#796ea9",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 169
  },
  "hsl": {
    "h": 251.186,
    "s": 25.541,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57235,
    "c": 0.09009,
    "h": 291.8
  },
  "luminance": 0.18081
}

Semantic roles & 50–950 ramp

primary
#796EA9
secondary
#C1C6AD
accent
#C266B1
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #796EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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