#796DF8#796DF8

#796DF8 is a mid, highly saturated blue. Relative luminance 0.218; OKLCH L 61.8% C 0.200 H 282.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#796DF8
RGBrgb(121, 109, 248)
HSLhsl(245, 91%, 70%)
HSVhsv(245, 56%, 97%)
CMYKcmyk(51.2%, 56%, 0%, 2.7%)
CIE-LABlab(53.79, 40.71, -68.33)
CIE-LCHlch(53.79, 79.54, 300.79°)
OKLaboklab(61.83% 0.0441 -0.1955)
OKLCHoklch(61.83% 0.2 282.7)
XYZxyz(30.2919, 21.7779, 91.3961)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DF8 #ECF86D
analogous
#6DA6F8 #796DF8 #BF6DF8
triadic
#796DF8 #F8796D #6DF879
tetradic
#796DF8 #F86DA6 #ECF86D #6DF8BF
square
#796DF8 #F86DA6 #ECF86D #6DF8BF
split-complementary
#796DF8 #F8BF6D #A6F86D
monochromatic
#1D0BE0 #4333F5 #796DF8 #AFA7FB #E4E2FE

Accessibility & contrast

On white

3.92
#796DF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#796DF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DF8
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DF8#FFFFFF#000000##000000
##796DF81.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#468DA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #796df8;
/* rgb */ color: rgb(121, 109, 248);
/* oklch */ color: oklch(61.8% 0.200 282.7);
Tailwind
colors: {
  custom: {
    50: '#a897fb',
    500: '#796df8',
    950: '#000000',
  },
}
SCSS
$custom: #796df8;
$custom-light: #a897fb;
$custom-dark: #000000;
JSON
{
  "hex": "#796df8",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 248
  },
  "hsl": {
    "h": 245.18,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.61827,
    "c": 0.20044,
    "h": 282.7
  },
  "luminance": 0.2178
}

Semantic roles & 50–950 ramp

primary
#796DF8
secondary
#F0F4CD
accent
#E600D2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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