#796BF9#796BF9

#796BF9 is a mid, highly saturated blue. Relative luminance 0.214; OKLCH L 61.6% C 0.204 H 283.1°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#796BF9
RGBrgb(121, 107, 249)
HSLhsl(246, 92%, 70%)
HSVhsv(246, 57%, 98%)
CMYKcmyk(51.4%, 57%, 0%, 2.4%)
CIE-LABlab(53.40, 42.17, -69.51)
CIE-LCHlch(53.40, 81.30, 301.24°)
OKLaboklab(61.56% 0.0462 -0.199)
OKLCHoklch(61.56% 0.204 283.1)
XYZxyz(30.2365, 21.4182, 92.1450)
Luminance0.2142 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796BF9 #EBF96B
analogous
#6BA4F9 #796BF9 #C06BF9
triadic
#796BF9 #F9796B #6BF979
tetradic
#796BF9 #F96BA4 #EBF96B #6BF9C0
square
#796BF9 #F96BA4 #EBF96B #6BF9C0
split-complementary
#796BF9 #F9C06B #A4F96B
monochromatic
#1E09E0 #4430F7 #796BF9 #AEA6FB #E4E1FE

Accessibility & contrast

On white

3.97
#796BF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#796BF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796BF9
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796BF9#FFFFFF#000000##000000
##796BF91.003.975.285.28
#FFFFFF3.971.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #796bf9;
/* rgb */ color: rgb(121, 107, 249);
/* oklch */ color: oklch(61.6% 0.204 283.1);
Tailwind
colors: {
  custom: {
    50: '#a996fc',
    500: '#796bf9',
    950: '#000000',
  },
}
SCSS
$custom: #796bf9;
$custom-light: #a996fc;
$custom-dark: #000000;
JSON
{
  "hex": "#796bf9",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 249
  },
  "hsl": {
    "h": 245.915,
    "s": 92.208,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61562,
    "c": 0.20429,
    "h": 283.1
  },
  "luminance": 0.2142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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