#796EA8#796EA8

#796EA8 is a mid, moderate violet. Relative luminance 0.180; OKLCH L 57.2% C 0.089 H 292.1°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#796EA8
RGBrgb(121, 110, 168)
HSLhsl(251, 25%, 55%)
HSVhsv(251, 35%, 66%)
CMYKcmyk(28%, 34.5%, 0%, 34.1%)
CIE-LABlab(49.55, 17.45, -29.55)
CIE-LCHlch(49.55, 34.32, 300.56°)
OKLaboklab(57.18% 0.0333 -0.0821)
OKLCHoklch(57.18% 0.089 292.1)
XYZxyz(20.5272, 18.0436, 39.4395)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EA8 #9DA86E
analogous
#6E80A8 #796EA8 #966EA8
triadic
#796EA8 #A8796E #6EA879
tetradic
#796EA8 #A86E80 #9DA86E #6EA896
square
#796EA8 #A86E80 #9DA86E #6EA896
split-complementary
#796EA8 #A8966E #80A86E
monochromatic
#423A61 #5C5188 #796EA8 #9C94BF #C0BBD6

Accessibility & contrast

On white

4.56
#796EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#796EA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EA8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EA8#FFFFFF#000000##000000
##796EA81.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E77AA
Deuteranopia (green-blind)
#5F75A6
Tritanopia (blue-blind)
#6F7883
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #796ea8;
/* rgb */ color: rgb(121, 110, 168);
/* oklch */ color: oklch(57.2% 0.089 292.1);
Tailwind
colors: {
  custom: {
    50: '#a197c2',
    500: '#796ea8',
    950: '#000000',
  },
}
SCSS
$custom: #796ea8;
$custom-light: #a197c2;
$custom-dark: #000000;
JSON
{
  "hex": "#796ea8",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 168
  },
  "hsl": {
    "h": 251.379,
    "s": 25,
    "l": 54.51
  },
  "oklch": {
    "l": 0.57185,
    "c": 0.08863,
    "h": 292.1
  },
  "luminance": 0.18044
}

Semantic roles & 50–950 ramp

primary
#796EA8
secondary
#C1C5AD
accent
#C166B0
background
#FAF9FB
surface
#F3F2F7
border
#CDCCD0
text
#0F0D12
muted
#7F7E81

Preview Lab

Preview with #796EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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