#796CF9#796CF9

#796CF9 is a mid, highly saturated blue. Relative luminance 0.216; OKLCH L 61.7% C 0.203 H 282.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#796CF9
RGBrgb(121, 108, 249)
HSLhsl(246, 92%, 70%)
HSVhsv(246, 57%, 98%)
CMYKcmyk(51.4%, 56.6%, 0%, 2.4%)
CIE-LABlab(53.63, 41.59, -69.15)
CIE-LCHlch(53.63, 80.69, 301.02°)
OKLaboklab(61.73% 0.0452 -0.1979)
OKLCHoklch(61.73% 0.203 282.9)
XYZxyz(30.3414, 21.6279, 92.1800)
Luminance0.2163 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796CF9 #ECF96C
analogous
#6CA5F9 #796CF9 #C06CF9
triadic
#796CF9 #F9796C #6CF979
tetradic
#796CF9 #F96CA5 #ECF96C #6CF9C0
square
#796CF9 #F96CA5 #ECF96C #6CF9C0
split-complementary
#796CF9 #F9C06C #A5F96C
monochromatic
#1D09E1 #4331F7 #796CF9 #AFA7FB #E4E2FE

Accessibility & contrast

On white

3.94
#796CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#796CF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796CF9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796CF9#FFFFFF#000000##000000
##796CF91.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FE
Deuteranopia (green-blind)
#007BF6
Tritanopia (blue-blind)
#458DA8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796cf9;
/* rgb */ color: rgb(121, 108, 249);
/* oklch */ color: oklch(61.7% 0.203 282.9);
Tailwind
colors: {
  custom: {
    50: '#a996fc',
    500: '#796cf9',
    950: '#000000',
  },
}
SCSS
$custom: #796cf9;
$custom-light: #a996fc;
$custom-dark: #000000;
JSON
{
  "hex": "#796cf9",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 249
  },
  "hsl": {
    "h": 245.532,
    "s": 92.157,
    "l": 70
  },
  "oklch": {
    "l": 0.61729,
    "c": 0.20301,
    "h": 282.9
  },
  "luminance": 0.2163
}

Semantic roles & 50–950 ramp

primary
#796CF9
secondary
#F0F4CD
accent
#E600D0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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