#796FAA#796FAA

#796FAA is a mid, moderate violet. Relative luminance 0.183; OKLCH L 57.5% C 0.090 H 291.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#796FAA
RGBrgb(121, 111, 170)
HSLhsl(250, 26%, 55%)
HSVhsv(250, 35%, 67%)
CMYKcmyk(28.8%, 34.7%, 0%, 33.3%)
CIE-LABlab(49.90, 17.37, -30.17)
CIE-LCHlch(49.90, 34.81, 299.93°)
OKLaboklab(57.49% 0.0323 -0.0839)
OKLCHoklch(57.49% 0.09 291.1)
XYZxyz(20.8235, 18.3357, 40.4645)
Luminance0.1834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FAA #A0AA6F
analogous
#6F83AA #796FAA #966FAA
triadic
#796FAA #AA796F #6FAA79
tetradic
#796FAA #AA6F83 #A0AA6F #6FAA96
square
#796FAA #AA6F83 #A0AA6F #6FAA96
split-complementary
#796FAA #AA966F #83AA6F
monochromatic
#423B64 #5B528A #796FAA #9D95C1 #C1BCD7

Accessibility & contrast

On white

4.50
#796FAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#796FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FAA
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FAA#FFFFFF#000000##000000
##796FAA1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F78AC
Deuteranopia (green-blind)
#5F75A8
Tritanopia (blue-blind)
#6E7985
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #796faa;
/* rgb */ color: rgb(121, 111, 170);
/* oklch */ color: oklch(57.5% 0.090 291.1);
Tailwind
colors: {
  custom: {
    50: '#a198c3',
    500: '#796faa',
    950: '#000000',
  },
}
SCSS
$custom: #796faa;
$custom-light: #a198c3;
$custom-dark: #000000;
JSON
{
  "hex": "#796faa",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 170
  },
  "hsl": {
    "h": 250.169,
    "s": 25.764,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57485,
    "c": 0.08993,
    "h": 291.1
  },
  "luminance": 0.18336
}

Semantic roles & 50–950 ramp

primary
#796FAA
secondary
#C3C7AE
accent
#C266B2
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #796FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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