#796EAD#796EAD

#796EAD is a mid, moderate violet. Relative luminance 0.182; OKLCH L 57.4% C 0.096 H 291.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#796EAD
RGBrgb(121, 110, 173)
HSLhsl(250, 28%, 55%)
HSVhsv(250, 36%, 68%)
CMYKcmyk(30.1%, 36.4%, 0%, 32.2%)
CIE-LABlab(49.78, 18.75, -32.11)
CIE-LCHlch(49.78, 37.18, 300.29°)
OKLaboklab(57.44% 0.0345 -0.0895)
OKLCHoklch(57.44% 0.096 291.1)
XYZxyz(21.0020, 18.2335, 41.9400)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EAD #A2AD6E
analogous
#6E82AD #796EAD #986EAD
triadic
#796EAD #AD796E #6EAD79
tetradic
#796EAD #AD6E82 #A2AD6E #6EAD98
square
#796EAD #AD6E82 #A2AD6E #6EAD98
split-complementary
#796EAD #AD986E #82AD6E
monochromatic
#423A67 #5B508E #796EAD #9D95C3 #C1BCD9

Accessibility & contrast

On white

4.52
#796EAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#796EAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EAD
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EAD#FFFFFF#000000##000000
##796EAD1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C77AF
Deuteranopia (green-blind)
#5D75AB
Tritanopia (blue-blind)
#6D7985
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #796ead;
/* rgb */ color: rgb(121, 110, 173);
/* oklch */ color: oklch(57.4% 0.096 291.1);
Tailwind
colors: {
  custom: {
    50: '#a197c5',
    500: '#796ead',
    950: '#000000',
  },
}
SCSS
$custom: #796ead;
$custom-light: #a197c5;
$custom-dark: #000000;
JSON
{
  "hex": "#796ead",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 173
  },
  "hsl": {
    "h": 250.476,
    "s": 27.753,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57436,
    "c": 0.09593,
    "h": 291.1
  },
  "luminance": 0.18234
}

Semantic roles & 50–950 ramp

primary
#796EAD
secondary
#C4C9AE
accent
#C464B3
background
#FAF9FC
surface
#F3F2F8
border
#CDCCD1
text
#0F0D13
muted
#7F7E82

Preview Lab

Preview with #796EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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