#796BF4#796BF4

#796BF4 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.2% C 0.198 H 283.5°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#796BF4
RGBrgb(121, 107, 244)
HSLhsl(246, 86%, 69%)
HSVhsv(246, 56%, 96%)
CMYKcmyk(50.4%, 56.1%, 0%, 4.3%)
CIE-LABlab(53.07, 40.69, -67.28)
CIE-LCHlch(53.07, 78.62, 301.17°)
OKLaboklab(61.21% 0.0462 -0.1924)
OKLCHoklch(61.21% 0.198 283.5)
XYZxyz(29.4671, 21.1104, 88.0924)
Luminance0.2111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796BF4 #E6F46B
analogous
#6BA2F4 #796BF4 #BE6BF4
triadic
#796BF4 #F4796B #6BF479
tetradic
#796BF4 #F46BA2 #E6F46B #6BF4BE
square
#796BF4 #F46BA2 #E6F46B #6BF4BE
split-complementary
#796BF4 #F4BE6B #A2F46B
monochromatic
#2410D5 #4532F0 #796BF4 #ADA4F8 #E0DDFC

Accessibility & contrast

On white

4.02
#796BF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#796BF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796BF4
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796BF4#FFFFFF#000000##000000
##796BF41.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F9
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#498AA5
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796bf4;
/* rgb */ color: rgb(121, 107, 244);
/* oklch */ color: oklch(61.2% 0.198 283.5);
Tailwind
colors: {
  custom: {
    50: '#a896f9',
    500: '#796bf4',
    950: '#000000',
  },
}
SCSS
$custom: #796bf4;
$custom-light: #a896f9;
$custom-dark: #000000;
JSON
{
  "hex": "#796bf4",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 244
  },
  "hsl": {
    "h": 246.131,
    "s": 86.164,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61209,
    "c": 0.19788,
    "h": 283.5
  },
  "luminance": 0.21112
}

Semantic roles & 50–950 ramp

primary
#796BF4
secondary
#EEF2C9
accent
#E303CC
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #796BF4

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

Preview Lab → · Contrast checker → · Palette generator →

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