#796AFF#796AFF

#796AFF is a mid, highly saturated blue. Relative luminance 0.216; OKLCH L 61.8% C 0.213 H 282.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#796AFF
RGBrgb(121, 106, 255)
HSLhsl(246, 100%, 71%)
HSVhsv(246, 58%, 100%)
CMYKcmyk(52.5%, 58.4%, 0%, 0%)
CIE-LABlab(53.59, 44.52, -72.54)
CIE-LCHlch(53.59, 85.11, 301.54°)
OKLaboklab(61.83% 0.0471 -0.2079)
OKLCHoklch(61.83% 0.213 282.8)
XYZxyz(31.0837, 21.5912, 97.1180)
Luminance0.2159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796AFF #F0FF6A
analogous
#6AA5FF #796AFF #C36AFF
triadic
#796AFF #FF796A #6AFF79
tetradic
#796AFF #FF6AA5 #F0FF6A #6AFFC3
square
#796AFF #FF6AA5 #F0FF6A #6AFFC3
split-complementary
#796AFF #FFC36A #A5FF6A
monochromatic
#1800EF #422DFF #796AFF #B0A7FF #E3E0FF

Accessibility & contrast

On white

3.95
#796AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#796AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796AFF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796AFF#FFFFFF#000000##000000
##796AFF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007BFC
Tritanopia (blue-blind)
#3F8DAA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796aff;
/* rgb */ color: rgb(121, 106, 255);
/* oklch */ color: oklch(61.8% 0.213 282.8);
Tailwind
colors: {
  custom: {
    50: '#aa95ff',
    500: '#796aff',
    950: '#000000',
  },
}
SCSS
$custom: #796aff;
$custom-light: #aa95ff;
$custom-dark: #000000;
JSON
{
  "hex": "#796aff",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 255
  },
  "hsl": {
    "h": 246.04,
    "s": 100,
    "l": 70.784
  },
  "oklch": {
    "l": 0.61829,
    "c": 0.21315,
    "h": 282.8
  },
  "luminance": 0.21593
}

Semantic roles & 50–950 ramp

primary
#796AFF
secondary
#F2F6CE
accent
#E600CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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