#796CF7#796CF7

#796CF7 is a mid, highly saturated blue. Relative luminance 0.215; OKLCH L 61.6% C 0.200 H 283.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#796CF7
RGBrgb(121, 108, 247)
HSLhsl(246, 90%, 70%)
HSVhsv(246, 56%, 97%)
CMYKcmyk(51%, 56.3%, 0%, 3.1%)
CIE-LABlab(53.50, 41.00, -68.25)
CIE-LCHlch(53.50, 79.62, 300.99°)
OKLaboklab(61.59% 0.0452 -0.1953)
OKLCHoklch(61.59% 0.2 283)
XYZxyz(30.0311, 21.5038, 90.5459)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796CF7 #EAF76C
analogous
#6CA4F7 #796CF7 #BF6CF7
triadic
#796CF7 #F7796C #6CF779
tetradic
#796CF7 #F76CA4 #EAF76C #6CF7BF
square
#796CF7 #F76CA4 #EAF76C #6CF7BF
split-complementary
#796CF7 #F7BF6C #A4F76C
monochromatic
#200CDD #4432F4 #796CF7 #AEA6FA #E3E0FD

Accessibility & contrast

On white

3.96
#796CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#796CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796CF7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796CF7#FFFFFF#000000##000000
##796CF71.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FC
Deuteranopia (green-blind)
#007BF4
Tritanopia (blue-blind)
#478CA7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796cf7;
/* rgb */ color: rgb(121, 108, 247);
/* oklch */ color: oklch(61.6% 0.200 283.0);
Tailwind
colors: {
  custom: {
    50: '#a896fb',
    500: '#796cf7',
    950: '#000000',
  },
}
SCSS
$custom: #796cf7;
$custom-light: #a896fb;
$custom-dark: #000000;
JSON
{
  "hex": "#796cf7",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 247
  },
  "hsl": {
    "h": 245.612,
    "s": 89.677,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61588,
    "c": 0.20044,
    "h": 283
  },
  "luminance": 0.21505
}

Semantic roles & 50–950 ramp

primary
#796CF7
secondary
#F0F3CC
accent
#E600D0
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #796CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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