#796EAE#796EAE

#796EAE is a mid, moderate violet. Relative luminance 0.183; OKLCH L 57.5% C 0.097 H 290.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#796EAE
RGBrgb(121, 110, 174)
HSLhsl(250, 28%, 56%)
HSVhsv(250, 37%, 68%)
CMYKcmyk(30.5%, 36.8%, 0%, 31.8%)
CIE-LABlab(49.82, 19.02, -32.62)
CIE-LCHlch(49.82, 37.76, 300.25°)
OKLaboklab(57.49% 0.0347 -0.091)
OKLCHoklch(57.49% 0.097 290.9)
XYZxyz(21.0991, 18.2724, 42.4515)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EAE #A3AE6E
analogous
#6E83AE #796EAE #996EAE
triadic
#796EAE #AE796E #6EAE79
tetradic
#796EAE #AE6E83 #A3AE6E #6EAE99
square
#796EAE #AE6E83 #A3AE6E #6EAE99
split-complementary
#796EAE #AE996E #83AE6E
monochromatic
#423A68 #5B508F #796EAE #9D95C4 #C2BDDA

Accessibility & contrast

On white

4.51
#796EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#796EAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EAE
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EAE#FFFFFF#000000##000000
##796EAE1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C78B1
Deuteranopia (green-blind)
#5C75AC
Tritanopia (blue-blind)
#6D7986
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #796eae;
/* rgb */ color: rgb(121, 110, 174);
/* oklch */ color: oklch(57.5% 0.097 290.9);
Tailwind
colors: {
  custom: {
    50: '#a197c6',
    500: '#796eae',
    950: '#000000',
  },
}
SCSS
$custom: #796eae;
$custom-light: #a197c6;
$custom-dark: #000000;
JSON
{
  "hex": "#796eae",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 174
  },
  "hsl": {
    "h": 250.313,
    "s": 28.319,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57487,
    "c": 0.09738,
    "h": 290.9
  },
  "luminance": 0.18273
}

Semantic roles & 50–950 ramp

primary
#796EAE
secondary
#C5C9AF
accent
#C563B4
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #796EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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