#796FA0#796FA0

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

Color values

HEX#796FA0
RGBrgb(121, 111, 160)
HSLhsl(252, 21%, 53%)
HSVhsv(252, 31%, 63%)
CMYKcmyk(24.4%, 30.6%, 0%, 37.3%)
CIE-LABlab(49.46, 14.80, -25.01)
CIE-LCHlch(49.46, 29.06, 300.62°)
OKLaboklab(57% 0.0297 -0.0691)
OKLCHoklch(57% 0.075 293.2)
XYZxyz(19.9133, 17.9716, 35.6706)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FA0 #96A06F
analogous
#6F7DA0 #796FA0 #916FA0
triadic
#796FA0 #A0796F #6FA079
tetradic
#796FA0 #A06F7D #96A06F #6FA091
square
#796FA0 #A06F7D #96A06F #6FA091
split-complementary
#796FA0 #A0916F #7DA06F
monochromatic
#413B5A #5C537E #796FA0 #9B94B8 #BEB9D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796FA0#FFFFFF#000000##000000
##796FA01.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)
#6376A2
Deuteranopia (green-blind)
#64759F
Tritanopia (blue-blind)
#717780
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #796fa0;
/* rgb */ color: rgb(121, 111, 160);
/* oklch */ color: oklch(57.0% 0.075 293.2);
Tailwind
colors: {
  custom: {
    50: '#a098bc',
    500: '#796fa0',
    950: '#000000',
  },
}
SCSS
$custom: #796fa0;
$custom-light: #a098bc;
$custom-dark: #000000;
JSON
{
  "hex": "#796fa0",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 160
  },
  "hsl": {
    "h": 252.245,
    "s": 20.502,
    "l": 53.137
  },
  "oklch": {
    "l": 0.57003,
    "c": 0.07521,
    "h": 293.2
  },
  "luminance": 0.17972
}

Semantic roles & 50–950 ramp

primary
#796FA0
secondary
#BCC0AB
accent
#BD6BAC
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0F0D12
muted
#7E7E81

Preview Lab

Preview with #796FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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