#796DF4#796DF4

#796DF4 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 61.5% C 0.195 H 283.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#796DF4
RGBrgb(121, 109, 244)
HSLhsl(245, 86%, 69%)
HSVhsv(245, 55%, 96%)
CMYKcmyk(50.4%, 55.3%, 0%, 4.3%)
CIE-LABlab(53.53, 39.52, -66.54)
CIE-LCHlch(53.53, 77.39, 300.71°)
OKLaboklab(61.55% 0.0441 -0.1902)
OKLCHoklch(61.55% 0.195 283.1)
XYZxyz(29.6780, 21.5323, 88.1627)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DF4 #E8F46D
analogous
#6DA5F4 #796DF4 #BC6DF4
triadic
#796DF4 #F4796D #6DF479
tetradic
#796DF4 #F46DA5 #E8F46D #6DF4BC
square
#796DF4 #F46DA5 #E8F46D #6DF4BC
split-complementary
#796DF4 #F4BC6D #A5F46D
monochromatic
#2210D6 #4534F0 #796DF4 #ADA6F8 #E1DFFD

Accessibility & contrast

On white

3.96
#796DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#796DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DF4
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DF4#FFFFFF#000000##000000
##796DF41.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F84F9
Deuteranopia (green-blind)
#007BF1
Tritanopia (blue-blind)
#498CA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796df4;
/* rgb */ color: rgb(121, 109, 244);
/* oklch */ color: oklch(61.5% 0.195 283.1);
Tailwind
colors: {
  custom: {
    50: '#a897f9',
    500: '#796df4',
    950: '#000000',
  },
}
SCSS
$custom: #796df4;
$custom-light: #a897f9;
$custom-dark: #000000;
JSON
{
  "hex": "#796df4",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 244
  },
  "hsl": {
    "h": 245.333,
    "s": 85.987,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61548,
    "c": 0.19527,
    "h": 283.1
  },
  "luminance": 0.21534
}

Semantic roles & 50–950 ramp

primary
#796DF4
secondary
#EFF2CB
accent
#E303CF
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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