#796EA0#796EA0

#796EA0 is a mid, moderate violet. Relative luminance 0.178; OKLCH L 56.8% C 0.077 H 293.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#796EA0
RGBrgb(121, 110, 160)
HSLhsl(253, 21%, 53%)
HSVhsv(253, 31%, 63%)
CMYKcmyk(24.4%, 31.2%, 0%, 37.3%)
CIE-LABlab(49.20, 15.40, -25.42)
CIE-LCHlch(49.20, 29.72, 301.21°)
OKLaboklab(56.8% 0.0312 -0.0703)
OKLCHoklch(56.8% 0.077 293.9)
XYZxyz(19.8048, 17.7546, 35.6345)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EA0 #95A06E
analogous
#6E7CA0 #796EA0 #926EA0
triadic
#796EA0 #A0796E #6EA079
tetradic
#796EA0 #A06E7C #95A06E #6EA092
square
#796EA0 #A06E7C #95A06E #6EA092
split-complementary
#796EA0 #A0926E #7CA06E
monochromatic
#413A59 #5C537E #796EA0 #9B93B8 #BDB8D0

Accessibility & contrast

On white

4.61
#796EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#796EA0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #796EA0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EA0#FFFFFF#000000##FFFFFF
##796EA01.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6275A2
Deuteranopia (green-blind)
#63749F
Tritanopia (blue-blind)
#717680
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #796ea0;
/* rgb */ color: rgb(121, 110, 160);
/* oklch */ color: oklch(56.8% 0.077 293.9);
Tailwind
colors: {
  custom: {
    50: '#a097bc',
    500: '#796ea0',
    950: '#000000',
  },
}
SCSS
$custom: #796ea0;
$custom-light: #a097bc;
$custom-dark: #000000;
JSON
{
  "hex": "#796ea0",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 160
  },
  "hsl": {
    "h": 253.2,
    "s": 20.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.568,
    "c": 0.07687,
    "h": 293.9
  },
  "luminance": 0.17755
}

Semantic roles & 50–950 ramp

primary
#796EA0
secondary
#BBC0AA
accent
#BD6AAB
background
#F9F9FB
surface
#F2F2F6
border
#CCCCD0
text
#0F0D12
muted
#7E7E81

Preview Lab

Preview with #796EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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