#796FFB#796FFB

#796FFB is a light, highly saturated blue. Relative luminance 0.224; OKLCH L 62.4% C 0.202 H 282.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#796FFB
RGBrgb(121, 111, 251)
HSLhsl(244, 95%, 71%)
HSVhsv(244, 56%, 98%)
CMYKcmyk(51.8%, 55.8%, 0%, 1.6%)
CIE-LABlab(54.45, 40.44, -68.94)
CIE-LCHlch(54.45, 79.93, 300.40°)
OKLaboklab(62.38% 0.0421 -0.1973)
OKLCHoklch(62.38% 0.202 282)
XYZxyz(30.9769, 22.3971, 93.9389)
Luminance0.2240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FFB #F1FB6F
analogous
#6FABFB #796FFB #BF6FFB
triadic
#796FFB #FB796F #6FFB79
tetradic
#796FFB #FB6FAB #F1FB6F #6FFBBF
square
#796FFB #FB6FAB #F1FB6F #6FFBBF
split-complementary
#796FFB #FBBF6F #ABFB6F
monochromatic
#1706E9 #4233F9 #796FFB #B0ABFD #E3E1FE

Accessibility & contrast

On white

3.83
#796FFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#796FFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FFB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FFB#FFFFFF#000000##000000
##796FFB1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007DF8
Tritanopia (blue-blind)
#438FAA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #796ffb;
/* rgb */ color: rgb(121, 111, 251);
/* oklch */ color: oklch(62.4% 0.202 282.0);
Tailwind
colors: {
  custom: {
    50: '#a998fd',
    500: '#796ffb',
    950: '#000000',
  },
}
SCSS
$custom: #796ffb;
$custom-light: #a998fd;
$custom-dark: #000000;
JSON
{
  "hex": "#796ffb",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 251
  },
  "hsl": {
    "h": 244.286,
    "s": 94.595,
    "l": 70.98
  },
  "oklch": {
    "l": 0.62375,
    "c": 0.20172,
    "h": 282
  },
  "luminance": 0.22399
}

Semantic roles & 50–950 ramp

primary
#796FFB
secondary
#F3F6D0
accent
#E600D5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #796FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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