#796DF5#796DF5

#796DF5 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 61.6% C 0.197 H 283.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#796DF5
RGBrgb(121, 109, 245)
HSLhsl(245, 87%, 69%)
HSVhsv(245, 56%, 96%)
CMYKcmyk(50.6%, 55.5%, 0%, 3.9%)
CIE-LABlab(53.59, 39.82, -66.99)
CIE-LCHlch(53.59, 77.93, 300.73°)
OKLaboklab(61.62% 0.0441 -0.1915)
OKLCHoklch(61.62% 0.197 283)
XYZxyz(29.8302, 21.5932, 88.9646)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DF5 #E9F56D
analogous
#6DA5F5 #796DF5 #BD6DF5
triadic
#796DF5 #F5796D #6DF579
tetradic
#796DF5 #F56DA5 #E9F56D #6DF5BD
square
#796DF5 #F56DA5 #E9F56D #6DF5BD
split-complementary
#796DF5 #F5BD6D #A5F56D
monochromatic
#210FD9 #4434F1 #796DF5 #AEA6F9 #E2E0FD

Accessibility & contrast

On white

3.95
#796DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#796DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DF5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DF5#FFFFFF#000000##000000
##796DF51.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A85FA
Deuteranopia (green-blind)
#007BF2
Tritanopia (blue-blind)
#488CA7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796df5;
/* rgb */ color: rgb(121, 109, 245);
/* oklch */ color: oklch(61.6% 0.197 283.0);
Tailwind
colors: {
  custom: {
    50: '#a897f9',
    500: '#796df5',
    950: '#000000',
  },
}
SCSS
$custom: #796df5;
$custom-light: #a897f9;
$custom-dark: #000000;
JSON
{
  "hex": "#796df5",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 245
  },
  "hsl": {
    "h": 245.294,
    "s": 87.179,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61617,
    "c": 0.19656,
    "h": 283
  },
  "luminance": 0.21595
}

Semantic roles & 50–950 ramp

primary
#796DF5
secondary
#EFF2CB
accent
#E402D0
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #796DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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