#796BF0#796BF0

#796BF0 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.9% C 0.193 H 283.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#796BF0
RGBrgb(121, 107, 240)
HSLhsl(246, 82%, 68%)
HSVhsv(246, 55%, 94%)
CMYKcmyk(49.6%, 55.4%, 0%, 5.9%)
CIE-LABlab(52.81, 39.51, -65.47)
CIE-LCHlch(52.81, 76.47, 301.11°)
OKLaboklab(60.93% 0.0462 -0.1871)
OKLCHoklch(60.93% 0.193 283.9)
XYZxyz(28.8663, 20.8701, 84.9285)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796BF0 #E2F06B
analogous
#6B9FF0 #796BF0 #BB6BF0
triadic
#796BF0 #F0796B #6BF079
tetradic
#796BF0 #F06B9F #E2F06B #6BF0BB
square
#796BF0 #F06B9F #E2F06B #6BF0BB
split-complementary
#796BF0 #F0BB6B #9FF06B
monochromatic
#2815CC #4733EA #796BF0 #ABA3F6 #DEDAFB

Accessibility & contrast

On white

4.06
#796BF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#796BF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796BF0
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796BF0#FFFFFF#000000##000000
##796BF01.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1082F4
Deuteranopia (green-blind)
#007AED
Tritanopia (blue-blind)
#4C89A3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #796bf0;
/* rgb */ color: rgb(121, 107, 240);
/* oklch */ color: oklch(60.9% 0.193 283.9);
Tailwind
colors: {
  custom: {
    50: '#a896f6',
    500: '#796bf0',
    950: '#000000',
  },
}
SCSS
$custom: #796bf0;
$custom-light: #a896f6;
$custom-dark: #000000;
JSON
{
  "hex": "#796bf0",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 240
  },
  "hsl": {
    "h": 246.316,
    "s": 81.595,
    "l": 68.039
  },
  "oklch": {
    "l": 0.60931,
    "c": 0.19271,
    "h": 283.9
  },
  "luminance": 0.20872
}

Semantic roles & 50–950 ramp

primary
#796BF0
secondary
#EBF0C7
accent
#DE08C7
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796BF0

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

Preview Lab → · Contrast checker → · Palette generator →

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