#796DFC#796DFC

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

Color values

HEX#796DFC
RGBrgb(121, 109, 252)
HSLhsl(245, 96%, 71%)
HSVhsv(245, 57%, 99%)
CMYKcmyk(52%, 56.7%, 0%, 1.2%)
CIE-LABlab(54.06, 41.90, -70.12)
CIE-LCHlch(54.06, 81.69, 300.86°)
OKLaboklab(62.11% 0.0441 -0.2008)
OKLCHoklch(62.11% 0.206 282.4)
XYZxyz(30.9191, 22.0287, 94.6993)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DFC #F0FC6D
analogous
#6DA8FC #796DFC #C06DFC
triadic
#796DFC #FC796D #6DFC79
tetradic
#796DFC #FC6DA8 #F0FC6D #6DFCC0
square
#796DFC #FC6DA8 #F0FC6D #6DFCC0
split-complementary
#796DFC #FCC06D #A8FC6D
monochromatic
#1805EA #4231FB #796DFC #B0A9FD #E3E1FE

Accessibility & contrast

On white

3.88
#796DFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#796DFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DFC
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DFC#FFFFFF#000000##000000
##796DFC1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007CF9
Tritanopia (blue-blind)
#428EAA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #796dfc;
/* rgb */ color: rgb(121, 109, 252);
/* oklch */ color: oklch(62.1% 0.206 282.4);
Tailwind
colors: {
  custom: {
    50: '#a997fe',
    500: '#796dfc',
    950: '#000000',
  },
}
SCSS
$custom: #796dfc;
$custom-light: #a997fe;
$custom-dark: #000000;
JSON
{
  "hex": "#796dfc",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 252
  },
  "hsl": {
    "h": 245.035,
    "s": 95.973,
    "l": 70.784
  },
  "oklch": {
    "l": 0.62109,
    "c": 0.20556,
    "h": 282.4
  },
  "luminance": 0.22031
}

Semantic roles & 50–950 ramp

primary
#796DFC
secondary
#F2F6CF
accent
#E600D2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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