#796EA4#796EA4

#796EA4 is a mid, moderate violet. Relative luminance 0.179; OKLCH L 57.0% C 0.083 H 292.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#796EA4
RGBrgb(121, 110, 164)
HSLhsl(252, 23%, 54%)
HSVhsv(252, 33%, 64%)
CMYKcmyk(26.2%, 32.9%, 0%, 35.7%)
CIE-LABlab(49.37, 16.42, -27.49)
CIE-LCHlch(49.37, 32.02, 300.84°)
OKLaboklab(56.99% 0.0323 -0.0762)
OKLCHoklch(56.99% 0.083 292.9)
XYZxyz(20.1603, 17.8969, 37.5071)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EA4 #99A46E
analogous
#6E7EA4 #796EA4 #946EA4
triadic
#796EA4 #A4796E #6EA479
tetradic
#796EA4 #A46E7E #99A46E #6EA494
square
#796EA4 #A46E7E #99A46E #6EA494
split-complementary
#796EA4 #A4946E #7EA46E
monochromatic
#423A5D #5C5283 #796EA4 #9C94BC #BEB9D3

Accessibility & contrast

On white

4.59
#796EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#796EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #796EA4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EA4#FFFFFF#000000##FFFFFF
##796EA41.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6076A6
Deuteranopia (green-blind)
#6174A3
Tritanopia (blue-blind)
#707782
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #796ea4;
/* rgb */ color: rgb(121, 110, 164);
/* oklch */ color: oklch(57.0% 0.083 292.9);
Tailwind
colors: {
  custom: {
    50: '#a197bf',
    500: '#796ea4',
    950: '#000000',
  },
}
SCSS
$custom: #796ea4;
$custom-light: #a197bf;
$custom-dark: #000000;
JSON
{
  "hex": "#796ea4",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 164
  },
  "hsl": {
    "h": 252.222,
    "s": 22.881,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5699,
    "c": 0.08276,
    "h": 292.9
  },
  "luminance": 0.17897
}

Semantic roles & 50–950 ramp

primary
#796EA4
secondary
#BEC2AB
accent
#BF68AE
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0F0D12
muted
#7E7E81

Preview Lab

Preview with #796EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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