#796ACC#796ACC

#796ACC is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.4% C 0.146 H 288.0°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#796ACC
RGBrgb(121, 106, 204)
HSLhsl(249, 49%, 61%)
HSVhsv(249, 48%, 80%)
CMYKcmyk(40.7%, 48%, 0%, 20%)
CIE-LABlab(50.37, 29.66, -49.05)
CIE-LCHlch(50.37, 57.32, 301.16°)
OKLaboklab(58.41% 0.0452 -0.1389)
OKLCHoklch(58.41% 0.146 288)
XYZxyz(23.9352, 18.7318, 59.4695)
Luminance0.1873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796ACC #BDCC6A
analogous
#6A8CCC #796ACC #AA6ACC
triadic
#796ACC #CC796A #6ACC79
tetradic
#796ACC #CC6A8C #BDCC6A #6ACCAA
square
#796ACC #CC6A8C #BDCC6A #6ACCAA
split-complementary
#796ACC #CCAA6A #8CCC6A
monochromatic
#3E308C #523FB9 #796ACC #A298DC #CBC5EB

Accessibility & contrast

On white

4.42
#796ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#796ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796ACC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796ACC#FFFFFF#000000##000000
##796ACC1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#447AD0
Deuteranopia (green-blind)
#4375CA
Tritanopia (blue-blind)
#627E91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #796acc;
/* rgb */ color: rgb(121, 106, 204);
/* oklch */ color: oklch(58.4% 0.146 288.0);
Tailwind
colors: {
  custom: {
    50: '#a495dc',
    500: '#796acc',
    950: '#000000',
  },
}
SCSS
$custom: #796acc;
$custom-light: #a495dc;
$custom-dark: #000000;
JSON
{
  "hex": "#796acc",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 204
  },
  "hsl": {
    "h": 249.184,
    "s": 49,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.14604,
    "h": 288
  },
  "luminance": 0.18733
}

Semantic roles & 50–950 ramp

primary
#796ACC
secondary
#D6DBB6
accent
#BC29A6
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #796ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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