#796CFE#796CFE

#796CFE is a light, highly saturated blue. Relative luminance 0.219; OKLCH L 62.1% C 0.209 H 282.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#796CFE
RGBrgb(121, 108, 254)
HSLhsl(245, 99%, 71%)
HSVhsv(245, 57%, 100%)
CMYKcmyk(52.4%, 57.5%, 0%, 0.4%)
CIE-LABlab(53.97, 43.08, -71.37)
CIE-LCHlch(53.97, 83.36, 301.11°)
OKLaboklab(62.09% 0.0451 -0.2045)
OKLCHoklch(62.09% 0.209 282.4)
XYZxyz(31.1316, 21.9440, 96.3419)
Luminance0.2195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796CFE #F1FE6C
analogous
#6CA8FE #796CFE #C26CFE
triadic
#796CFE #FE796C #6CFE79
tetradic
#796CFE #FE6CA8 #F1FE6C #6CFEC2
square
#796CFE #FE6CA8 #F1FE6C #6CFEC2
split-complementary
#796CFE #FEC26C #A8FE6C
monochromatic
#1702EE #422FFE #796CFE #B0A9FE #E3E1FF

Accessibility & contrast

On white

3.90
#796CFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#796CFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796CFE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796CFE#FFFFFF#000000##000000
##796CFE1.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007CFB
Tritanopia (blue-blind)
#408EAB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #796cfe;
/* rgb */ color: rgb(121, 108, 254);
/* oklch */ color: oklch(62.1% 0.209 282.4);
Tailwind
colors: {
  custom: {
    50: '#a996ff',
    500: '#796cfe',
    950: '#000000',
  },
}
SCSS
$custom: #796cfe;
$custom-light: #a996ff;
$custom-dark: #000000;
JSON
{
  "hex": "#796cfe",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 245.342,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.62086,
    "c": 0.20938,
    "h": 282.4
  },
  "luminance": 0.21946
}

Semantic roles & 50–950 ramp

primary
#796CFE
secondary
#F3F6CF
accent
#E600D1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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