#796FAC#796FAC

#796FAC is a mid, moderate blue. Relative luminance 0.184; OKLCH L 57.6% C 0.093 H 290.7°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#796FAC
RGBrgb(121, 111, 172)
HSLhsl(250, 27%, 55%)
HSVhsv(250, 35%, 67%)
CMYKcmyk(29.7%, 35.5%, 0%, 32.5%)
CIE-LABlab(49.99, 17.89, -31.19)
CIE-LCHlch(49.99, 35.96, 299.84°)
OKLaboklab(57.58% 0.0328 -0.0869)
OKLCHoklch(57.58% 0.093 290.7)
XYZxyz(21.0141, 18.4120, 41.4684)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FAC #A2AC6F
analogous
#6F83AC #796FAC #976FAC
triadic
#796FAC #AC796F #6FAC79
tetradic
#796FAC #AC6F83 #A2AC6F #6FAC97
square
#796FAC #AC6F83 #A2AC6F #6FAC97
split-complementary
#796FAC #AC976F #83AC6F
monochromatic
#423B66 #5B518D #796FAC #9D96C2 #C1BDD9

Accessibility & contrast

On white

4.48
#796FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#796FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FAC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FAC#FFFFFF#000000##000000
##796FAC1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E78AE
Deuteranopia (green-blind)
#5E76AA
Tritanopia (blue-blind)
#6D7A85
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #796fac;
/* rgb */ color: rgb(121, 111, 172);
/* oklch */ color: oklch(57.6% 0.093 290.7);
Tailwind
colors: {
  custom: {
    50: '#a198c5',
    500: '#796fac',
    950: '#000000',
  },
}
SCSS
$custom: #796fac;
$custom-light: #a198c5;
$custom-dark: #000000;
JSON
{
  "hex": "#796fac",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 172
  },
  "hsl": {
    "h": 249.836,
    "s": 26.872,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57584,
    "c": 0.09286,
    "h": 290.7
  },
  "luminance": 0.18412
}

Semantic roles & 50–950 ramp

primary
#796FAC
secondary
#C4C8AF
accent
#C365B4
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #796FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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