#796ADD#796ADD

#796ADD is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.5% C 0.169 H 286.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#796ADD
RGBrgb(121, 106, 221)
HSLhsl(248, 63%, 64%)
HSVhsv(248, 52%, 87%)
CMYKcmyk(45.2%, 52%, 0%, 13.3%)
CIE-LABlab(51.37, 34.53, -57.11)
CIE-LCHlch(51.37, 66.74, 301.16°)
OKLaboklab(59.48% 0.0466 -0.1625)
OKLCHoklch(59.48% 0.169 286)
XYZxyz(26.0866, 19.5924, 70.7998)
Luminance0.1959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796ADD #CEDD6A
analogous
#6A95DD #796ADD #B36ADD
triadic
#796ADD #DD796A #6ADD79
tetradic
#796ADD #DD6A95 #CEDD6A #6ADDB3
square
#796ADD #DD6A95 #CEDD6A #6ADDB3
split-complementary
#796ADD #DDB36A #95DD6A
monochromatic
#3726A7 #4C38D2 #796ADD #A69CE8 #D3CEF4

Accessibility & contrast

On white

4.27
#796ADD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#796ADD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796ADD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796ADD#FFFFFF#000000##000000
##796ADD1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#337EE1
Deuteranopia (green-blind)
#3077DA
Tritanopia (blue-blind)
#598399
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #796add;
/* rgb */ color: rgb(121, 106, 221);
/* oklch */ color: oklch(59.5% 0.169 286.0);
Tailwind
colors: {
  custom: {
    50: '#a595e8',
    500: '#796add',
    950: '#000000',
  },
}
SCSS
$custom: #796add;
$custom-light: #a595e8;
$custom-dark: #000000;
JSON
{
  "hex": "#796add",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 221
  },
  "hsl": {
    "h": 247.826,
    "s": 62.842,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5948,
    "c": 0.16908,
    "h": 286
  },
  "luminance": 0.19593
}

Semantic roles & 50–950 ramp

primary
#796ADD
secondary
#E0E5BD
accent
#CB1BB4
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796ADD

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

Preview Lab → · Contrast checker → · Palette generator →

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