#796EF8#796EF8

#796EF8 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 62.0% C 0.199 H 282.5°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#796EF8
RGBrgb(121, 110, 248)
HSLhsl(245, 91%, 70%)
HSVhsv(245, 56%, 97%)
CMYKcmyk(51.2%, 55.6%, 0%, 2.7%)
CIE-LABlab(54.02, 40.13, -67.96)
CIE-LCHlch(54.02, 78.93, 300.56°)
OKLaboklab(62% 0.0431 -0.1944)
OKLCHoklch(62% 0.199 282.5)
XYZxyz(30.3992, 21.9924, 91.4319)
Luminance0.2199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EF8 #EDF86E
analogous
#6EA8F8 #796EF8 #BE6EF8
triadic
#796EF8 #F8796E #6EF879
tetradic
#796EF8 #F86EA8 #EDF86E #6EF8BE
square
#796EF8 #F86EA8 #EDF86E #6EF8BE
split-complementary
#796EF8 #F8BE6E #A8F86E
monochromatic
#1C0BE1 #4334F5 #796EF8 #AFA8FB #E4E2FE

Accessibility & contrast

On white

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

On black

5.40
#796EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EF8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EF8#FFFFFF#000000##000000
##796EF81.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0386FD
Deuteranopia (green-blind)
#007CF5
Tritanopia (blue-blind)
#458EA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #796ef8;
/* rgb */ color: rgb(121, 110, 248);
/* oklch */ color: oklch(62.0% 0.199 282.5);
Tailwind
colors: {
  custom: {
    50: '#a898fb',
    500: '#796ef8',
    950: '#000000',
  },
}
SCSS
$custom: #796ef8;
$custom-light: #a898fb;
$custom-dark: #000000;
JSON
{
  "hex": "#796ef8",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 244.783,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.61996,
    "c": 0.19914,
    "h": 282.5
  },
  "luminance": 0.21994
}

Semantic roles & 50–950 ramp

primary
#796EF8
secondary
#F1F4CE
accent
#E600D3
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #796EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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