#796EAC#796EAC

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

Color values

HEX#796EAC
RGBrgb(121, 110, 172)
HSLhsl(251, 27%, 55%)
HSVhsv(251, 36%, 67%)
CMYKcmyk(29.7%, 36%, 0%, 32.5%)
CIE-LABlab(49.73, 18.49, -31.60)
CIE-LCHlch(49.73, 36.61, 300.34°)
OKLaboklab(57.39% 0.0343 -0.088)
OKLCHoklch(57.39% 0.094 291.3)
XYZxyz(20.9056, 18.1950, 41.4323)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EAC #A1AC6E
analogous
#6E82AC #796EAC #986EAC
triadic
#796EAC #AC796E #6EAC79
tetradic
#796EAC #AC6E82 #A1AC6E #6EAC98
square
#796EAC #AC6E82 #A1AC6E #6EAC98
split-complementary
#796EAC #AC986E #82AC6E
monochromatic
#423A65 #5B508C #796EAC #9D95C2 #C1BCD9

Accessibility & contrast

On white

4.53
#796EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#796EAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EAC
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EAC#FFFFFF#000000##000000
##796EAC1.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #796eac;
/* rgb */ color: rgb(121, 110, 172);
/* oklch */ color: oklch(57.4% 0.094 291.3);
Tailwind
colors: {
  custom: {
    50: '#a197c5',
    500: '#796eac',
    950: '#000000',
  },
}
SCSS
$custom: #796eac;
$custom-light: #a197c5;
$custom-dark: #000000;
JSON
{
  "hex": "#796eac",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 172
  },
  "hsl": {
    "h": 250.645,
    "s": 27.193,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57385,
    "c": 0.09447,
    "h": 291.3
  },
  "luminance": 0.18195
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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