#796DAD#796DAD

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

Color values

HEX#796DAD
RGBrgb(121, 109, 173)
HSLhsl(251, 28%, 55%)
HSVhsv(251, 37%, 68%)
CMYKcmyk(30.1%, 37%, 0%, 32.2%)
CIE-LABlab(49.52, 19.36, -32.51)
CIE-LCHlch(49.52, 37.84, 300.77°)
OKLaboklab(57.24% 0.0359 -0.0907)
OKLCHoklch(57.24% 0.098 291.6)
XYZxyz(20.8947, 18.0190, 41.9042)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DAD #A1AD6D
analogous
#6D81AD #796DAD #996DAD
triadic
#796DAD #AD796D #6DAD79
tetradic
#796DAD #AD6D81 #A1AD6D #6DAD99
square
#796DAD #AD6D81 #A1AD6D #6DAD99
split-complementary
#796DAD #AD996D #81AD6D
monochromatic
#423966 #5B4F8D #796DAD #9D94C3 #C1BBD9

Accessibility & contrast

On white

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

On black

4.60
#796DAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DAD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DAD#FFFFFF#000000##000000
##796DAD1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B77B0
Deuteranopia (green-blind)
#5C74AB
Tritanopia (blue-blind)
#6D7885
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #796dad;
/* rgb */ color: rgb(121, 109, 173);
/* oklch */ color: oklch(57.2% 0.098 291.6);
Tailwind
colors: {
  custom: {
    50: '#a197c5',
    500: '#796dad',
    950: '#000000',
  },
}
SCSS
$custom: #796dad;
$custom-light: #a197c5;
$custom-dark: #000000;
JSON
{
  "hex": "#796dad",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 173
  },
  "hsl": {
    "h": 251.25,
    "s": 28.07,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57238,
    "c": 0.09754,
    "h": 291.6
  },
  "luminance": 0.18019
}

Semantic roles & 50–950 ramp

primary
#796DAD
secondary
#C3C8AE
accent
#C463B2
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #796DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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