#796EA6#796EA6

#796EA6 is a mid, moderate violet. Relative luminance 0.180; OKLCH L 57.1% C 0.086 H 292.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#796EA6
RGBrgb(121, 110, 166)
HSLhsl(252, 24%, 54%)
HSVhsv(252, 34%, 65%)
CMYKcmyk(27.1%, 33.7%, 0%, 34.9%)
CIE-LABlab(49.46, 16.93, -28.52)
CIE-LCHlch(49.46, 33.17, 300.69°)
OKLaboklab(57.09% 0.0328 -0.0792)
OKLCHoklch(57.09% 0.086 292.5)
XYZxyz(20.3423, 17.9697, 38.4658)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EA6 #9BA66E
analogous
#6E7FA6 #796EA6 #956EA6
triadic
#796EA6 #A6796E #6EA679
tetradic
#796EA6 #A66E7F #9BA66E #6EA695
square
#796EA6 #A66E7F #9BA66E #6EA695
split-complementary
#796EA6 #A6956E #7FA66E
monochromatic
#423A5F #5C5285 #796EA6 #9C94BD #BFBAD5

Accessibility & contrast

On white

4.57
#796EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#796EA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EA6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EA6#FFFFFF#000000##000000
##796EA61.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F76A8
Deuteranopia (green-blind)
#6075A5
Tritanopia (blue-blind)
#6F7882
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #796ea6;
/* rgb */ color: rgb(121, 110, 166);
/* oklch */ color: oklch(57.1% 0.086 292.5);
Tailwind
colors: {
  custom: {
    50: '#a197c0',
    500: '#796ea6',
    950: '#000000',
  },
}
SCSS
$custom: #796ea6;
$custom-light: #a197c0;
$custom-dark: #000000;
JSON
{
  "hex": "#796ea6",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 166
  },
  "hsl": {
    "h": 251.786,
    "s": 23.932,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57087,
    "c": 0.08569,
    "h": 292.5
  },
  "luminance": 0.1797
}

Semantic roles & 50–950 ramp

primary
#796EA6
secondary
#BFC4AC
accent
#C067AF
background
#FAF9FB
surface
#F3F2F7
border
#CDCCD0
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #796EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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