#796FAE#796FAE

#796FAE is a mid, moderate blue. Relative luminance 0.185; OKLCH L 57.7% C 0.096 H 290.3°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#796FAE
RGBrgb(121, 111, 174)
HSLhsl(250, 28%, 56%)
HSVhsv(250, 36%, 68%)
CMYKcmyk(30.5%, 36.2%, 0%, 31.8%)
CIE-LABlab(50.08, 18.42, -32.21)
CIE-LCHlch(50.08, 37.10, 299.76°)
OKLaboklab(57.68% 0.0333 -0.0898)
OKLCHoklch(57.68% 0.096 290.3)
XYZxyz(21.2076, 18.4894, 42.4877)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FAE #A4AE6F
analogous
#6F84AE #796FAE #986FAE
triadic
#796FAE #AE796F #6FAE79
tetradic
#796FAE #AE6F84 #A4AE6F #6FAE98
square
#796FAE #AE6F84 #A4AE6F #6FAE98
split-complementary
#796FAE #AE986F #84AE6F
monochromatic
#423B68 #5B518F #796FAE #9D96C4 #C2BDDA

Accessibility & contrast

On white

4.47
#796FAE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#796FAE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FAE
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FAE#FFFFFF#000000##000000
##796FAE1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D78B0
Deuteranopia (green-blind)
#5D76AC
Tritanopia (blue-blind)
#6D7A86
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #796fae;
/* rgb */ color: rgb(121, 111, 174);
/* oklch */ color: oklch(57.7% 0.096 290.3);
Tailwind
colors: {
  custom: {
    50: '#a198c6',
    500: '#796fae',
    950: '#000000',
  },
}
SCSS
$custom: #796fae;
$custom-light: #a198c6;
$custom-dark: #000000;
JSON
{
  "hex": "#796fae",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 174
  },
  "hsl": {
    "h": 249.524,
    "s": 28,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57685,
    "c": 0.09578,
    "h": 290.3
  },
  "luminance": 0.1849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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