#796CFD#796CFD

#796CFD is a light, highly saturated blue. Relative luminance 0.219; OKLCH L 62.0% C 0.208 H 282.5°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#796CFD
RGBrgb(121, 108, 253)
HSLhsl(245, 97%, 71%)
HSVhsv(245, 57%, 99%)
CMYKcmyk(52.2%, 57.3%, 0%, 0.8%)
CIE-LABlab(53.90, 42.78, -70.93)
CIE-LCHlch(53.90, 82.83, 301.09°)
OKLaboklab(62.01% 0.0451 -0.2031)
OKLCHoklch(62.01% 0.208 282.5)
XYZxyz(30.9719, 21.8801, 95.5007)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796CFD #F0FD6C
analogous
#6CA7FD #796CFD #C16CFD
triadic
#796CFD #FD796C #6CFD79
tetradic
#796CFD #FD6CA7 #F0FD6C #6CFDC1
square
#796CFD #FD6CA7 #F0FD6C #6CFDC1
split-complementary
#796CFD #FDC16C #A7FD6C
monochromatic
#1803EB #4230FC #796CFD #B0A8FE #E3E1FF

Accessibility & contrast

On white

3.91
#796CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#796CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796CFD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796CFD#FFFFFF#000000##000000
##796CFD1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #796cfd;
/* rgb */ color: rgb(121, 108, 253);
/* oklch */ color: oklch(62.0% 0.208 282.5);
Tailwind
colors: {
  custom: {
    50: '#a996ff',
    500: '#796cfd',
    950: '#000000',
  },
}
SCSS
$custom: #796cfd;
$custom-light: #a996ff;
$custom-dark: #000000;
JSON
{
  "hex": "#796cfd",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 253
  },
  "hsl": {
    "h": 245.379,
    "s": 97.315,
    "l": 70.784
  },
  "oklch": {
    "l": 0.62014,
    "c": 0.2081,
    "h": 282.5
  },
  "luminance": 0.21882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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