#796AF4#796AF4

#796AF4 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 61.0% C 0.199 H 283.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#796AF4
RGBrgb(121, 106, 244)
HSLhsl(247, 86%, 69%)
HSVhsv(247, 57%, 96%)
CMYKcmyk(50.4%, 56.6%, 0%, 4.3%)
CIE-LABlab(52.84, 41.27, -67.64)
CIE-LCHlch(52.84, 79.24, 301.39°)
OKLaboklab(61.04% 0.0472 -0.1935)
OKLCHoklch(61.04% 0.199 283.7)
XYZxyz(29.3634, 20.9031, 88.0579)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796AF4 #E5F46A
analogous
#6AA0F4 #796AF4 #BE6AF4
triadic
#796AF4 #F4796A #6AF479
tetradic
#796AF4 #F46AA0 #E5F46A #6AF4BE
square
#796AF4 #F46AA0 #E5F46A #6AF4BE
split-complementary
#796AF4 #F4BE6A #A0F46A
monochromatic
#2510D4 #4631F0 #796AF4 #ACA3F8 #E0DCFC

Accessibility & contrast

On white

4.05
#796AF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#796AF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796AF4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796AF4#FFFFFF#000000##000000
##796AF41.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #796af4;
/* rgb */ color: rgb(121, 106, 244);
/* oklch */ color: oklch(61.0% 0.199 283.7);
Tailwind
colors: {
  custom: {
    50: '#a895f9',
    500: '#796af4',
    950: '#000000',
  },
}
SCSS
$custom: #796af4;
$custom-light: #a895f9;
$custom-dark: #000000;
JSON
{
  "hex": "#796af4",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 244
  },
  "hsl": {
    "h": 246.522,
    "s": 86.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.61042,
    "c": 0.19917,
    "h": 283.7
  },
  "luminance": 0.20905
}

Semantic roles & 50–950 ramp

primary
#796AF4
secondary
#EDF1C8
accent
#E303CA
background
#FAF9FF
surface
#F5F1FF
border
#CFCBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #796AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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