#796CF4#796CF4

#796CF4 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.4% C 0.197 H 283.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#796CF4
RGBrgb(121, 108, 244)
HSLhsl(246, 86%, 69%)
HSVhsv(246, 56%, 96%)
CMYKcmyk(50.4%, 55.7%, 0%, 4.3%)
CIE-LABlab(53.30, 40.11, -66.91)
CIE-LCHlch(53.30, 78.01, 300.94°)
OKLaboklab(61.38% 0.0452 -0.1913)
OKLCHoklch(61.38% 0.197 283.3)
XYZxyz(29.5719, 21.3201, 88.1274)
Luminance0.2132 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796CF4 #E7F46C
analogous
#6CA3F4 #796CF4 #BD6CF4
triadic
#796CF4 #F4796C #6CF479
tetradic
#796CF4 #F46CA3 #E7F46C #6CF4BD
square
#796CF4 #F46CA3 #E7F46C #6CF4BD
split-complementary
#796CF4 #F4BD6C #A3F46C
monochromatic
#2310D6 #4533F0 #796CF4 #ADA5F8 #E1DEFD

Accessibility & contrast

On white

3.99
#796CF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#796CF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796CF4
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796CF4#FFFFFF#000000##000000
##796CF41.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0584F9
Deuteranopia (green-blind)
#007BF1
Tritanopia (blue-blind)
#498BA6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796cf4;
/* rgb */ color: rgb(121, 108, 244);
/* oklch */ color: oklch(61.4% 0.197 283.3);
Tailwind
colors: {
  custom: {
    50: '#a896f9',
    500: '#796cf4',
    950: '#000000',
  },
}
SCSS
$custom: #796cf4;
$custom-light: #a896f9;
$custom-dark: #000000;
JSON
{
  "hex": "#796cf4",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 244
  },
  "hsl": {
    "h": 245.735,
    "s": 86.076,
    "l": 69.02
  },
  "oklch": {
    "l": 0.61378,
    "c": 0.19658,
    "h": 283.3
  },
  "luminance": 0.21322
}

Semantic roles & 50–950 ramp

primary
#796CF4
secondary
#EEF2CA
accent
#E303CD
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #796CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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