#796ABC#796ABC

#796ABC is a mid, vivid violet. Relative luminance 0.180; OKLCH L 57.5% C 0.124 H 290.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#796ABC
RGBrgb(121, 106, 188)
HSLhsl(251, 38%, 58%)
HSVhsv(251, 44%, 74%)
CMYKcmyk(35.6%, 43.6%, 0%, 26.3%)
CIE-LABlab(49.50, 25.20, -41.24)
CIE-LCHlch(49.50, 48.33, 301.42°)
OKLaboklab(57.47% 0.0431 -0.116)
OKLCHoklch(57.47% 0.124 290.4)
XYZxyz(22.1139, 18.0033, 49.8771)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796ABC #ADBC6A
analogous
#6A84BC #796ABC #A26ABC
triadic
#796ABC #BC796A #6ABC79
tetradic
#796ABC #BC6A84 #ADBC6A #6ABCA2
square
#796ABC #BC6A84 #ADBC6A #6ABCA2
split-complementary
#796ABC #BCA26A #84BC6A
monochromatic
#413576 #5848A1 #796ABC #9F94CF #C5BEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796ABC#FFFFFF#000000##000000
##796ABC1.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)
#4F77BF
Deuteranopia (green-blind)
#5074BA
Tritanopia (blue-blind)
#687A8A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #796abc;
/* rgb */ color: rgb(121, 106, 188);
/* oklch */ color: oklch(57.5% 0.124 290.4);
Tailwind
colors: {
  custom: {
    50: '#a294d0',
    500: '#796abc',
    950: '#000000',
  },
}
SCSS
$custom: #796abc;
$custom-light: #a294d0;
$custom-dark: #000000;
JSON
{
  "hex": "#796abc",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 188
  },
  "hsl": {
    "h": 250.976,
    "s": 37.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57467,
    "c": 0.12376,
    "h": 290.4
  },
  "luminance": 0.18004
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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