#796ABE#796ABE

#796ABE is a mid, vivid violet. Relative luminance 0.181; OKLCH L 57.6% C 0.127 H 290.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#796ABE
RGBrgb(121, 106, 190)
HSLhsl(251, 39%, 58%)
HSVhsv(251, 44%, 75%)
CMYKcmyk(36.3%, 44.2%, 0%, 25.5%)
CIE-LABlab(49.61, 25.75, -42.23)
CIE-LCHlch(49.61, 49.46, 301.37°)
OKLaboklab(57.58% 0.0434 -0.1189)
OKLCHoklch(57.58% 0.127 290)
XYZxyz(22.3310, 18.0901, 51.0204)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796ABE #AFBE6A
analogous
#6A85BE #796ABE #A36ABE
triadic
#796ABE #BE796A #6ABE79
tetradic
#796ABE #BE6A85 #AFBE6A #6ABEA3
square
#796ABE #BE6A85 #AFBE6A #6ABEA3
split-complementary
#796ABE #BEA36A #85BE6A
monochromatic
#413579 #5847A3 #796ABE #9F95D1 #C6BFE3

Accessibility & contrast

On white

4.55
#796ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#796ABE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796ABE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796ABE#FFFFFF#000000##000000
##796ABE1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E78C1
Deuteranopia (green-blind)
#4E74BC
Tritanopia (blue-blind)
#677A8B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #796abe;
/* rgb */ color: rgb(121, 106, 190);
/* oklch */ color: oklch(57.6% 0.127 290.0);
Tailwind
colors: {
  custom: {
    50: '#a294d2',
    500: '#796abe',
    950: '#000000',
  },
}
SCSS
$custom: #796abe;
$custom-light: #a294d2;
$custom-dark: #000000;
JSON
{
  "hex": "#796abe",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 190
  },
  "hsl": {
    "h": 250.714,
    "s": 39.252,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57581,
    "c": 0.12659,
    "h": 290
  },
  "luminance": 0.18091
}

Semantic roles & 50–950 ramp

primary
#796ABE
secondary
#CDD3B1
accent
#CF59BA
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #796ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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