#796ABA#796ABA

#796ABA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 57.4% C 0.121 H 290.7°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#796ABA
RGBrgb(121, 106, 186)
HSLhsl(251, 37%, 57%)
HSVhsv(251, 43%, 73%)
CMYKcmyk(34.9%, 43%, 0%, 27.1%)
CIE-LABlab(49.40, 24.65, -40.25)
CIE-LCHlch(49.40, 47.20, 301.48°)
OKLaboklab(57.35% 0.0427 -0.1131)
OKLCHoklch(57.35% 0.121 290.7)
XYZxyz(21.8998, 17.9177, 48.7495)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796ABA #ABBA6A
analogous
#6A83BA #796ABA #A16ABA
triadic
#796ABA #BA796A #6ABA79
tetradic
#796ABA #BA6A83 #ABBA6A #6ABAA1
square
#796ABA #BA6A83 #ABBA6A #6ABAA1
split-complementary
#796ABA #BAA16A #83BA6A
monochromatic
#413674 #59499E #796ABA #9F94CD #C4BEE1

Accessibility & contrast

On white

4.58
#796ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#000000 on #796ABA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796ABA#FFFFFF#000000##000000
##796ABA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5077BD
Deuteranopia (green-blind)
#5174B8
Tritanopia (blue-blind)
#697989
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #796aba;
/* rgb */ color: rgb(121, 106, 186);
/* oklch */ color: oklch(57.4% 0.121 290.7);
Tailwind
colors: {
  custom: {
    50: '#a294cf',
    500: '#796aba',
    950: '#000000',
  },
}
SCSS
$custom: #796aba;
$custom-light: #a294cf;
$custom-dark: #000000;
JSON
{
  "hex": "#796aba",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 186
  },
  "hsl": {
    "h": 251.25,
    "s": 36.697,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57354,
    "c": 0.12094,
    "h": 290.7
  },
  "luminance": 0.17918
}

Semantic roles & 50–950 ramp

primary
#796ABA
secondary
#CAD0B0
accent
#CD5BB7
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #796ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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