#796FFC#796FFC

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

Color values

HEX#796FFC
RGBrgb(121, 111, 252)
HSLhsl(244, 96%, 71%)
HSVhsv(244, 56%, 99%)
CMYKcmyk(52%, 56%, 0%, 1.2%)
CIE-LABlab(54.51, 40.74, -69.38)
CIE-LCHlch(54.51, 80.46, 300.42°)
OKLaboklab(62.45% 0.0421 -0.1986)
OKLCHoklch(62.45% 0.203 282)
XYZxyz(31.1349, 22.4603, 94.7713)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FFC #F2FC6F
analogous
#6FABFC #796FFC #BF6FFC
triadic
#796FFC #FC796F #6FFC79
tetradic
#796FFC #FC6FAB #F2FC6F #6FFCBF
square
#796FFC #FC6FAB #F2FC6F #6FFCBF
split-complementary
#796FFC #FCBF6F #ABFC6F
monochromatic
#1505EC #4133FB #796FFC #B1ABFD #E3E1FE

Accessibility & contrast

On white

3.82
#796FFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#796FFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FFC
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FFC#FFFFFF#000000##000000
##796FFC1.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007DF9
Tritanopia (blue-blind)
#428FAB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #796ffc;
/* rgb */ color: rgb(121, 111, 252);
/* oklch */ color: oklch(62.4% 0.203 282.0);
Tailwind
colors: {
  custom: {
    50: '#a998fe',
    500: '#796ffc',
    950: '#000000',
  },
}
SCSS
$custom: #796ffc;
$custom-light: #a998fe;
$custom-dark: #000000;
JSON
{
  "hex": "#796ffc",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 252
  },
  "hsl": {
    "h": 244.255,
    "s": 95.918,
    "l": 71.176
  },
  "oklch": {
    "l": 0.62446,
    "c": 0.203,
    "h": 282
  },
  "luminance": 0.22462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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