#796EFE#796EFE

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

Color values

HEX#796EFE
RGBrgb(121, 110, 254)
HSLhsl(245, 99%, 71%)
HSVhsv(245, 57%, 100%)
CMYKcmyk(52.4%, 56.7%, 0%, 0.4%)
CIE-LABlab(54.42, 41.92, -70.64)
CIE-LCHlch(54.42, 82.14, 300.68°)
OKLaboklab(62.42% 0.0431 -0.2023)
OKLCHoklch(62.42% 0.207 282)
XYZxyz(31.3450, 22.3707, 96.4130)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EFE #F3FE6E
analogous
#6EABFE #796EFE #C16EFE
triadic
#796EFE #FE796E #6EFE79
tetradic
#796EFE #FE6EAB #F3FE6E #6EFEC1
square
#796EFE #FE6EAB #F3FE6E #6EFEC1
split-complementary
#796EFE #FEC16E #ABFE6E
monochromatic
#1402F0 #4131FE #796EFE #B1ABFE #E3E1FF

Accessibility & contrast

On white

3.84
#796EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#796EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EFE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EFE#FFFFFF#000000##000000
##796EFE1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#408FAC
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #796efe;
/* rgb */ color: rgb(121, 110, 254);
/* oklch */ color: oklch(62.4% 0.207 282.0);
Tailwind
colors: {
  custom: {
    50: '#a998ff',
    500: '#796efe',
    950: '#000000',
  },
}
SCSS
$custom: #796efe;
$custom-light: #a998ff;
$custom-dark: #000000;
JSON
{
  "hex": "#796efe",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 244.583,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.62418,
    "c": 0.20684,
    "h": 282
  },
  "luminance": 0.22373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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