#796AF9#796AF9

#796AF9 is a mid, highly saturated blue. Relative luminance 0.212; OKLCH L 61.4% C 0.206 H 283.3°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#796AF9
RGBrgb(121, 106, 249)
HSLhsl(246, 92%, 70%)
HSVhsv(246, 57%, 98%)
CMYKcmyk(51.4%, 57.4%, 0%, 2.4%)
CIE-LABlab(53.18, 42.75, -69.88)
CIE-LCHlch(53.18, 81.92, 301.46°)
OKLaboklab(61.4% 0.0472 -0.2001)
OKLCHoklch(61.4% 0.206 283.3)
XYZxyz(30.1329, 21.2109, 92.1105)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796AF9 #EAF96A
analogous
#6AA2F9 #796AF9 #C16AF9
triadic
#796AF9 #F9796A #6AF979
tetradic
#796AF9 #F96AA2 #EAF96A #6AF9C1
square
#796AF9 #F96AA2 #EAF96A #6AF9C1
split-complementary
#796AF9 #F9C16A #A2F96A
monochromatic
#2009E0 #442FF7 #796AF9 #AEA5FB #E3E0FE

Accessibility & contrast

On white

4.01
#796AF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#796AF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796AF9
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796AF9#FFFFFF#000000##000000
##796AF91.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FE
Deuteranopia (green-blind)
#007AF6
Tritanopia (blue-blind)
#458BA7
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796af9;
/* rgb */ color: rgb(121, 106, 249);
/* oklch */ color: oklch(61.4% 0.206 283.3);
Tailwind
colors: {
  custom: {
    50: '#a995fc',
    500: '#796af9',
    950: '#000000',
  },
}
SCSS
$custom: #796af9;
$custom-light: #a995fc;
$custom-dark: #000000;
JSON
{
  "hex": "#796af9",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 249
  },
  "hsl": {
    "h": 246.294,
    "s": 92.258,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61397,
    "c": 0.20556,
    "h": 283.3
  },
  "luminance": 0.21213
}

Semantic roles & 50–950 ramp

primary
#796AF9
secondary
#F0F4CB
accent
#E600CD
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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