#796EA3#796EA3

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

Color values

HEX#796EA3
RGBrgb(121, 110, 163)
HSLhsl(252, 22%, 54%)
HSVhsv(252, 33%, 64%)
CMYKcmyk(25.8%, 32.5%, 0%, 36.1%)
CIE-LABlab(49.33, 16.16, -26.97)
CIE-LCHlch(49.33, 31.45, 300.93°)
OKLaboklab(56.94% 0.032 -0.0747)
OKLCHoklch(56.94% 0.081 293.2)
XYZxyz(20.0704, 17.8609, 37.0333)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EA3 #98A36E
analogous
#6E7DA3 #796EA3 #936EA3
triadic
#796EA3 #A3796E #6EA379
tetradic
#796EA3 #A36E7D #98A36E #6EA393
square
#796EA3 #A36E7D #98A36E #6EA393
split-complementary
#796EA3 #A3936E #7DA36E
monochromatic
#413A5C #5C5282 #796EA3 #9C93BB #BEB9D3

Accessibility & contrast

On white

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

On black

4.57
#796EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##796EA3#FFFFFF#000000##FFFFFF
##796EA31.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6076A5
Deuteranopia (green-blind)
#6274A2
Tritanopia (blue-blind)
#707781
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #796ea3;
/* rgb */ color: rgb(121, 110, 163);
/* oklch */ color: oklch(56.9% 0.081 293.2);
Tailwind
colors: {
  custom: {
    50: '#a197be',
    500: '#796ea3',
    950: '#000000',
  },
}
SCSS
$custom: #796ea3;
$custom-light: #a197be;
$custom-dark: #000000;
JSON
{
  "hex": "#796ea3",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 163
  },
  "hsl": {
    "h": 252.453,
    "s": 22.363,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56942,
    "c": 0.08129,
    "h": 293.2
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#796EA3
secondary
#BDC2AB
accent
#BF69AD
background
#F9F9FB
surface
#F2F2F7
border
#CCCCD0
text
#0F0D12
muted
#7E7E81

Preview Lab

Preview with #796EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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