#796FF4#796FF4

#796FF4 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.9% C 0.193 H 282.6°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#796FF4
RGBrgb(121, 111, 244)
HSLhsl(245, 86%, 70%)
HSVhsv(245, 55%, 96%)
CMYKcmyk(50.4%, 54.5%, 0%, 4.3%)
CIE-LABlab(53.99, 38.35, -65.79)
CIE-LCHlch(53.99, 76.16, 300.24°)
OKLaboklab(61.89% 0.042 -0.188)
OKLCHoklch(61.89% 0.193 282.6)
XYZxyz(29.8938, 21.9639, 88.2347)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FF4 #EAF46F
analogous
#6FA8F4 #796FF4 #BB6FF4
triadic
#796FF4 #F4796F #6FF479
tetradic
#796FF4 #F46FA8 #EAF46F #6FF4BB
square
#796FF4 #F46FA8 #EAF46F #6FF4BB
split-complementary
#796FF4 #F4BB6F #A8F46F
monochromatic
#2011D8 #4436F0 #796FF4 #AEA8F8 #E3E1FD

Accessibility & contrast

On white

3.89
#796FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#796FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FF4
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FF4#FFFFFF#000000##000000
##796FF41.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B86F9
Deuteranopia (green-blind)
#037DF1
Tritanopia (blue-blind)
#498DA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #796ff4;
/* rgb */ color: rgb(121, 111, 244);
/* oklch */ color: oklch(61.9% 0.193 282.6);
Tailwind
colors: {
  custom: {
    50: '#a898f8',
    500: '#796ff4',
    950: '#000000',
  },
}
SCSS
$custom: #796ff4;
$custom-light: #a898f8;
$custom-dark: #000000;
JSON
{
  "hex": "#796ff4",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 244
  },
  "hsl": {
    "h": 244.511,
    "s": 85.806,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61891,
    "c": 0.19265,
    "h": 282.6
  },
  "luminance": 0.21965
}

Semantic roles & 50–950 ramp

primary
#796FF4
secondary
#F0F2CC
accent
#E203D2
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E17
muted
#7F7E85

Preview Lab

Preview with #796FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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