#796FF9#796FF9

#796FF9 is a light, vivid blue. Relative luminance 0.223; OKLCH L 62.2% C 0.199 H 282.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#796FF9
RGBrgb(121, 111, 249)
HSLhsl(244, 92%, 71%)
HSVhsv(244, 55%, 98%)
CMYKcmyk(51.4%, 55.4%, 0%, 2.4%)
CIE-LABlab(54.31, 39.85, -68.04)
CIE-LCHlch(54.31, 78.85, 300.35°)
OKLaboklab(62.24% 0.0421 -0.1946)
OKLCHoklch(62.24% 0.199 282.2)
XYZxyz(30.6633, 22.2716, 92.2873)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FF9 #EFF96F
analogous
#6FAAF9 #796FF9 #BE6FF9
triadic
#796FF9 #F9796F #6FF979
tetradic
#796FF9 #F96FAA #EFF96F #6FF9BE
square
#796FF9 #F96FAA #EFF96F #6FF9BE
split-complementary
#796FF9 #F9BE6F #AAF96F
monochromatic
#190AE4 #4234F7 #796FF9 #B0AAFB #E4E2FE

Accessibility & contrast

On white

3.85
#796FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#796FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FF9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FF9#FFFFFF#000000##000000
##796FF91.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0887FE
Deuteranopia (green-blind)
#007DF6
Tritanopia (blue-blind)
#448FA9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #796ff9;
/* rgb */ color: rgb(121, 111, 249);
/* oklch */ color: oklch(62.2% 0.199 282.2);
Tailwind
colors: {
  custom: {
    50: '#a898fc',
    500: '#796ff9',
    950: '#000000',
  },
}
SCSS
$custom: #796ff9;
$custom-light: #a898fc;
$custom-dark: #000000;
JSON
{
  "hex": "#796ff9",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 249
  },
  "hsl": {
    "h": 244.348,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62236,
    "c": 0.19915,
    "h": 282.2
  },
  "luminance": 0.22273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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