#796FF7#796FF7

#796FF7 is a light, vivid blue. Relative luminance 0.221; OKLCH L 62.1% C 0.197 H 282.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#796FF7
RGBrgb(121, 111, 247)
HSLhsl(244, 89%, 70%)
HSVhsv(244, 55%, 97%)
CMYKcmyk(51%, 55.1%, 0%, 3.1%)
CIE-LABlab(54.18, 39.25, -67.14)
CIE-LCHlch(54.18, 77.77, 300.31°)
OKLaboklab(62.1% 0.042 -0.192)
OKLCHoklch(62.1% 0.197 282.4)
XYZxyz(30.3530, 22.1475, 90.6532)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FF7 #EDF76F
analogous
#6FA9F7 #796FF7 #BD6FF7
triadic
#796FF7 #F7796F #6FF779
tetradic
#796FF7 #F76FA9 #EDF76F #6FF7BD
square
#796FF7 #F76FA9 #EDF76F #6FF7BD
split-complementary
#796FF7 #F7BD6F #A9F76F
monochromatic
#1C0CDF #4335F4 #796FF7 #AFA9FA #E4E2FD

Accessibility & contrast

On white

3.87
#796FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#796FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FF7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FF7#FFFFFF#000000##000000
##796FF71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1286FC
Deuteranopia (green-blind)
#007DF4
Tritanopia (blue-blind)
#468EA8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #796ff7;
/* rgb */ color: rgb(121, 111, 247);
/* oklch */ color: oklch(62.1% 0.197 282.4);
Tailwind
colors: {
  custom: {
    50: '#a898fb',
    500: '#796ff7',
    950: '#000000',
  },
}
SCSS
$custom: #796ff7;
$custom-light: #a898fb;
$custom-dark: #000000;
JSON
{
  "hex": "#796ff7",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 247
  },
  "hsl": {
    "h": 244.412,
    "s": 89.474,
    "l": 70.196
  },
  "oklch": {
    "l": 0.62097,
    "c": 0.19655,
    "h": 282.4
  },
  "luminance": 0.22149
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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