#796ABB#796ABB

#796ABB is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.4% C 0.122 H 290.5°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#796ABB
RGBrgb(121, 106, 187)
HSLhsl(251, 37%, 57%)
HSVhsv(251, 43%, 73%)
CMYKcmyk(35.3%, 43.3%, 0%, 26.7%)
CIE-LABlab(49.45, 24.92, -40.75)
CIE-LCHlch(49.45, 47.76, 301.45°)
OKLaboklab(57.41% 0.0429 -0.1146)
OKLCHoklch(57.41% 0.122 290.5)
XYZxyz(22.0065, 17.9603, 49.3113)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796ABB #ACBB6A
analogous
#6A84BB #796ABB #A16ABB
triadic
#796ABB #BB796A #6ABB79
tetradic
#796ABB #BB6A84 #ACBB6A #6ABBA1
square
#796ABB #BB6A84 #ACBB6A #6ABBA1
split-complementary
#796ABB #BBA16A #84BB6A
monochromatic
#413575 #59499F #796ABB #9F94CE #C5BEE1

Accessibility & contrast

On white

4.57
#796ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#796ABB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796ABB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796ABB#FFFFFF#000000##000000
##796ABB1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BE
Deuteranopia (green-blind)
#5074B9
Tritanopia (blue-blind)
#697989
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #796abb;
/* rgb */ color: rgb(121, 106, 187);
/* oklch */ color: oklch(57.4% 0.122 290.5);
Tailwind
colors: {
  custom: {
    50: '#a294d0',
    500: '#796abb',
    950: '#000000',
  },
}
SCSS
$custom: #796abb;
$custom-light: #a294d0;
$custom-dark: #000000;
JSON
{
  "hex": "#796abb",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 187
  },
  "hsl": {
    "h": 251.111,
    "s": 37.327,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5741,
    "c": 0.12236,
    "h": 290.5
  },
  "luminance": 0.17961
}

Semantic roles & 50–950 ramp

primary
#796ABB
secondary
#CBD1B0
accent
#CD5BB8
background
#FAF9FC
surface
#F4F1F9
border
#CECBD2
text
#0F0D14
muted
#7F7E82

Preview Lab

Preview with #796ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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