#796EFB#796EFB

#796EFB is a light, highly saturated blue. Relative luminance 0.222; OKLCH L 62.2% C 0.203 H 282.3°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#796EFB
RGBrgb(121, 110, 251)
HSLhsl(245, 95%, 71%)
HSVhsv(245, 56%, 98%)
CMYKcmyk(51.8%, 56.2%, 0%, 1.6%)
CIE-LABlab(54.22, 41.02, -69.31)
CIE-LCHlch(54.22, 80.54, 300.62°)
OKLaboklab(62.21% 0.0431 -0.1984)
OKLCHoklch(62.21% 0.203 282.3)
XYZxyz(30.8684, 22.1801, 93.9027)
Luminance0.2218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EFB #F0FB6E
analogous
#6EA9FB #796EFB #BF6EFB
triadic
#796EFB #FB796E #6EFB79
tetradic
#796EFB #FB6EA9 #F0FB6E #6EFBBF
square
#796EFB #FB6EA9 #F0FB6E #6EFBBF
split-complementary
#796EFB #FBBF6E #A9FB6E
monochromatic
#1806E8 #4232F9 #796EFB #B0AAFD #E3E1FE

Accessibility & contrast

On white

3.86
#796EFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#796EFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EFB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EFB#FFFFFF#000000##000000
##796EFB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #796efb;
/* rgb */ color: rgb(121, 110, 251);
/* oklch */ color: oklch(62.2% 0.203 282.3);
Tailwind
colors: {
  custom: {
    50: '#a998fd',
    500: '#796efb',
    950: '#000000',
  },
}
SCSS
$custom: #796efb;
$custom-light: #a998fd;
$custom-dark: #000000;
JSON
{
  "hex": "#796efb",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 244.681,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.62206,
    "c": 0.203,
    "h": 282.3
  },
  "luminance": 0.22182
}

Semantic roles & 50–950 ramp

primary
#796EFB
secondary
#F2F5CF
accent
#E600D4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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