#796EF7#796EF7

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

Color values

HEX#796EF7
RGBrgb(121, 110, 247)
HSLhsl(245, 90%, 70%)
HSVhsv(245, 55%, 97%)
CMYKcmyk(51%, 55.5%, 0%, 3.1%)
CIE-LABlab(53.95, 39.83, -67.52)
CIE-LCHlch(53.95, 78.39, 300.54°)
OKLaboklab(61.93% 0.0431 -0.1931)
OKLCHoklch(61.93% 0.198 282.6)
XYZxyz(30.2445, 21.9305, 90.6170)
Luminance0.2193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EF7 #ECF76E
analogous
#6EA7F7 #796EF7 #BE6EF7
triadic
#796EF7 #F7796E #6EF779
tetradic
#796EF7 #F76EA7 #ECF76E #6EF7BE
square
#796EF7 #F76EA7 #ECF76E #6EF7BE
split-complementary
#796EF7 #F7BE6E #A7F76E
monochromatic
#1D0CDE #4334F4 #796EF7 #AFA8FA #E4E2FD

Accessibility & contrast

On white

3.90
#796EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##796EF7#FFFFFF#000000##000000
##796EF71.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0986FC
Deuteranopia (green-blind)
#007CF4
Tritanopia (blue-blind)
#468DA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #796ef7;
/* rgb */ color: rgb(121, 110, 247);
/* oklch */ color: oklch(61.9% 0.198 282.6);
Tailwind
colors: {
  custom: {
    50: '#a898fb',
    500: '#796ef7',
    950: '#000000',
  },
}
SCSS
$custom: #796ef7;
$custom-light: #a898fb;
$custom-dark: #000000;
JSON
{
  "hex": "#796ef7",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 247
  },
  "hsl": {
    "h": 244.818,
    "s": 89.542,
    "l": 70
  },
  "oklch": {
    "l": 0.61926,
    "c": 0.19785,
    "h": 282.6
  },
  "luminance": 0.21932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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