#796FFE#796FFE

#796FFE is a light, highly saturated blue. Relative luminance 0.226; OKLCH L 62.6% C 0.206 H 281.8°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#796FFE
RGBrgb(121, 111, 254)
HSLhsl(244, 99%, 72%)
HSVhsv(244, 56%, 100%)
CMYKcmyk(52.4%, 56.3%, 0%, 0.4%)
CIE-LABlab(54.65, 41.34, -70.28)
CIE-LCHlch(54.65, 81.53, 300.47°)
OKLaboklab(62.59% 0.0421 -0.2012)
OKLCHoklch(62.59% 0.206 281.8)
XYZxyz(31.4535, 22.5877, 96.4492)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FFE #F4FE6F
analogous
#6FADFE #796FFE #C16FFE
triadic
#796FFE #FE796F #6FFE79
tetradic
#796FFE #FE6FAD #F4FE6F #6FFEC1
square
#796FFE #FE6FAD #F4FE6F #6FFEC1
split-complementary
#796FFE #FEC16F #ADFE6F
monochromatic
#1202F1 #4032FE #796FFE #B2ACFE #E3E1FF

Accessibility & contrast

On white

3.81
#796FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#796FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FFE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FFE#FFFFFF#000000##000000
##796FFE1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#007EFB
Tritanopia (blue-blind)
#4090AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #796ffe;
/* rgb */ color: rgb(121, 111, 254);
/* oklch */ color: oklch(62.6% 0.206 281.8);
Tailwind
colors: {
  custom: {
    50: '#a998ff',
    500: '#796ffe',
    950: '#000000',
  },
}
SCSS
$custom: #796ffe;
$custom-light: #a998ff;
$custom-dark: #000000;
JSON
{
  "hex": "#796ffe",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 254
  },
  "hsl": {
    "h": 244.196,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.62586,
    "c": 0.20557,
    "h": 281.8
  },
  "luminance": 0.2259
}

Semantic roles & 50–950 ramp

primary
#796FFE
secondary
#F4F7D2
accent
#E600D5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #796FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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