#796BF8#796BF8

#796BF8 is a mid, highly saturated blue. Relative luminance 0.214; OKLCH L 61.5% C 0.203 H 283.2°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#796BF8
RGBrgb(121, 107, 248)
HSLhsl(246, 91%, 70%)
HSVhsv(246, 57%, 97%)
CMYKcmyk(51.2%, 56.9%, 0%, 2.7%)
CIE-LABlab(53.34, 41.87, -69.07)
CIE-LCHlch(53.34, 80.77, 301.23°)
OKLaboklab(61.49% 0.0462 -0.1977)
OKLCHoklch(61.49% 0.203 283.2)
XYZxyz(30.0810, 21.3560, 91.3258)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796BF8 #EAF86B
analogous
#6BA4F8 #796BF8 #BF6BF8
triadic
#796BF8 #F8796B #6BF879
tetradic
#796BF8 #F86BA4 #EAF86B #6BF8BF
square
#796BF8 #F86BA4 #EAF86B #6BF8BF
split-complementary
#796BF8 #F8BF6B #A4F86B
monochromatic
#200BDE #4431F5 #796BF8 #AEA5FB #E3E0FE

Accessibility & contrast

On white

3.98
#796BF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#796BF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796BF8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796BF8#FFFFFF#000000##000000
##796BF81.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FD
Deuteranopia (green-blind)
#007BF5
Tritanopia (blue-blind)
#468CA7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796bf8;
/* rgb */ color: rgb(121, 107, 248);
/* oklch */ color: oklch(61.5% 0.203 283.2);
Tailwind
colors: {
  custom: {
    50: '#a996fb',
    500: '#796bf8',
    950: '#000000',
  },
}
SCSS
$custom: #796bf8;
$custom-light: #a996fb;
$custom-dark: #000000;
JSON
{
  "hex": "#796bf8",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 248
  },
  "hsl": {
    "h": 245.957,
    "s": 90.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61491,
    "c": 0.203,
    "h": 283.2
  },
  "luminance": 0.21358
}

Semantic roles & 50–950 ramp

primary
#796BF8
secondary
#F0F4CB
accent
#E600CF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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