#796DAE#796DAE

#796DAE is a mid, moderate violet. Relative luminance 0.181; OKLCH L 57.3% C 0.099 H 291.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#796DAE
RGBrgb(121, 109, 174)
HSLhsl(251, 29%, 55%)
HSVhsv(251, 37%, 68%)
CMYKcmyk(30.5%, 37.4%, 0%, 31.8%)
CIE-LABlab(49.57, 19.62, -33.02)
CIE-LCHlch(49.57, 38.41, 300.72°)
OKLaboklab(57.29% 0.0362 -0.0921)
OKLCHoklch(57.29% 0.099 291.4)
XYZxyz(20.9918, 18.0578, 42.4157)
Luminance0.1806 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DAE #A2AE6D
analogous
#6D81AE #796DAE #996DAE
triadic
#796DAE #AE796D #6DAE79
tetradic
#796DAE #AE6D81 #A2AE6D #6DAE99
square
#796DAE #AE6D81 #A2AE6D #6DAE99
split-complementary
#796DAE #AE996D #81AE6D
monochromatic
#423967 #5B4F8F #796DAE #9D94C4 #C1BCDA

Accessibility & contrast

On white

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

On black

4.61
#796DAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DAE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DAE#FFFFFF#000000##000000
##796DAE1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A77B1
Deuteranopia (green-blind)
#5B75AC
Tritanopia (blue-blind)
#6D7985
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #796dae;
/* rgb */ color: rgb(121, 109, 174);
/* oklch */ color: oklch(57.3% 0.099 291.4);
Tailwind
colors: {
  custom: {
    50: '#a197c6',
    500: '#796dae',
    950: '#000000',
  },
}
SCSS
$custom: #796dae;
$custom-light: #a197c6;
$custom-dark: #000000;
JSON
{
  "hex": "#796dae",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 174
  },
  "hsl": {
    "h": 251.077,
    "s": 28.634,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57289,
    "c": 0.09899,
    "h": 291.4
  },
  "luminance": 0.18058
}

Semantic roles & 50–950 ramp

primary
#796DAE
secondary
#C4C9AE
accent
#C563B3
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #796DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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