#796AA3#796AA3

#796AA3 is a mid, moderate violet. Relative luminance 0.170; OKLCH L 56.1% C 0.088 H 295.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#796AA3
RGBrgb(121, 106, 163)
HSLhsl(256, 24%, 53%)
HSVhsv(256, 35%, 64%)
CMYKcmyk(25.8%, 35%, 0%, 36.1%)
CIE-LABlab(48.28, 18.57, -28.60)
CIE-LCHlch(48.28, 34.10, 302.99°)
OKLaboklab(56.14% 0.0379 -0.0794)
OKLCHoklch(56.14% 0.088 295.5)
XYZxyz(19.6485, 17.0171, 36.8927)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796AA3 #94A36A
analogous
#6A78A3 #796AA3 #956AA3
triadic
#796AA3 #A3796A #6AA379
tetradic
#796AA3 #A36A78 #94A36A #6AA395
square
#796AA3 #A36A78 #94A36A #6AA395
split-complementary
#796AA3 #A3956A #78A36A
monochromatic
#41385B #5C4F80 #796AA3 #9B90BA #BDB6D2

Accessibility & contrast

On white

4.77
#796AA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#796AA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #796AA3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796AA3#FFFFFF#000000##FFFFFF
##796AA31.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B73A5
Deuteranopia (green-blind)
#5E72A1
Tritanopia (blue-blind)
#70747F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #796aa3;
/* rgb */ color: rgb(121, 106, 163);
/* oklch */ color: oklch(56.1% 0.088 295.5);
Tailwind
colors: {
  custom: {
    50: '#a194be',
    500: '#796aa3',
    950: '#000000',
  },
}
SCSS
$custom: #796aa3;
$custom-light: #a194be;
$custom-dark: #000000;
JSON
{
  "hex": "#796aa3",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 163
  },
  "hsl": {
    "h": 255.789,
    "s": 23.651,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56141,
    "c": 0.08798,
    "h": 295.5
  },
  "luminance": 0.17017
}

Semantic roles & 50–950 ramp

primary
#796AA3
secondary
#BAC1A8
accent
#C068A9
background
#FAF9FB
surface
#F3F1F7
border
#CDCBD0
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #796AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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