#796FF8#796FF8

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

Color values

HEX#796FF8
RGBrgb(121, 111, 248)
HSLhsl(244, 91%, 70%)
HSVhsv(244, 55%, 97%)
CMYKcmyk(51.2%, 55.2%, 0%, 2.7%)
CIE-LABlab(54.25, 39.55, -67.59)
CIE-LCHlch(54.25, 78.31, 300.33°)
OKLaboklab(62.17% 0.0421 -0.1933)
OKLCHoklch(62.17% 0.198 282.3)
XYZxyz(30.5077, 22.2094, 91.4680)
Luminance0.2221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FF8 #EEF86F
analogous
#6FA9F8 #796FF8 #BE6FF8
triadic
#796FF8 #F8796F #6FF879
tetradic
#796FF8 #F86FA9 #EEF86F #6FF8BE
square
#796FF8 #F86FA9 #EEF86F #6FF8BE
split-complementary
#796FF8 #F8BE6F #A9F86F
monochromatic
#1B0BE2 #4335F5 #796FF8 #AFA9FB #E4E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796FF8#FFFFFF#000000##000000
##796FF81.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)
#0D86FD
Deuteranopia (green-blind)
#007DF5
Tritanopia (blue-blind)
#458EA9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #796ff8;
/* rgb */ color: rgb(121, 111, 248);
/* oklch */ color: oklch(62.2% 0.198 282.3);
Tailwind
colors: {
  custom: {
    50: '#a898fb',
    500: '#796ff8',
    950: '#000000',
  },
}
SCSS
$custom: #796ff8;
$custom-light: #a898fb;
$custom-dark: #000000;
JSON
{
  "hex": "#796ff8",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 248
  },
  "hsl": {
    "h": 244.38,
    "s": 90.728,
    "l": 70.392
  },
  "oklch": {
    "l": 0.62166,
    "c": 0.19785,
    "h": 282.3
  },
  "luminance": 0.22211
}

Semantic roles & 50–950 ramp

primary
#796FF8
secondary
#F1F4CF
accent
#E600D5
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #796FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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