#796ACD#796ACD

#796ACD is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.5% C 0.147 H 287.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#796ACD
RGBrgb(121, 106, 205)
HSLhsl(249, 50%, 61%)
HSVhsv(249, 48%, 80%)
CMYKcmyk(41%, 48.3%, 0%, 19.6%)
CIE-LABlab(50.43, 29.94, -49.53)
CIE-LCHlch(50.43, 57.88, 301.15°)
OKLaboklab(58.47% 0.0453 -0.1403)
OKLCHoklch(58.47% 0.147 287.9)
XYZxyz(24.0556, 18.7800, 60.1032)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796ACD #BECD6A
analogous
#6A8CCD #796ACD #AA6ACD
triadic
#796ACD #CD796A #6ACD79
tetradic
#796ACD #CD6A8C #BECD6A #6ACDAA
square
#796ACD #CD6A8C #BECD6A #6ACDAA
split-complementary
#796ACD #CDAA6A #8CCD6A
monochromatic
#3E2F8D #523FBB #796ACD #A298DC #CBC6EC

Accessibility & contrast

On white

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

On black

4.76
#796ACD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796ACD
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796ACD#FFFFFF#000000##000000
##796ACD1.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#437AD1
Deuteranopia (green-blind)
#4275CB
Tritanopia (blue-blind)
#617E92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #796acd;
/* rgb */ color: rgb(121, 106, 205);
/* oklch */ color: oklch(58.5% 0.147 287.9);
Tailwind
colors: {
  custom: {
    50: '#a495dd',
    500: '#796acd',
    950: '#000000',
  },
}
SCSS
$custom: #796acd;
$custom-light: #a495dd;
$custom-dark: #000000;
JSON
{
  "hex": "#796acd",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 205
  },
  "hsl": {
    "h": 249.091,
    "s": 49.749,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58469,
    "c": 0.14741,
    "h": 287.9
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#796ACD
secondary
#D6DCB7
accent
#BD28A7
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #796ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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