#796CF8#796CF8

#796CF8 is a mid, highly saturated blue. Relative luminance 0.216; OKLCH L 61.7% C 0.202 H 282.9°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#796CF8
RGBrgb(121, 108, 248)
HSLhsl(246, 91%, 70%)
HSVhsv(246, 56%, 97%)
CMYKcmyk(51.2%, 56.5%, 0%, 2.7%)
CIE-LABlab(53.56, 41.29, -68.70)
CIE-LCHlch(53.56, 80.16, 301.01°)
OKLaboklab(61.66% 0.0452 -0.1966)
OKLCHoklch(61.66% 0.202 282.9)
XYZxyz(30.1859, 21.5657, 91.3608)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796CF8 #EBF86C
analogous
#6CA5F8 #796CF8 #BF6CF8
triadic
#796CF8 #F8796C #6CF879
tetradic
#796CF8 #F86CA5 #EBF86C #6CF8BF
square
#796CF8 #F86CA5 #EBF86C #6CF8BF
split-complementary
#796CF8 #F8BF6C #A5F86C
monochromatic
#1E0BDF #4432F5 #796CF8 #AEA6FB #E4E1FE

Accessibility & contrast

On white

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

On black

5.31
#796CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796CF8
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796CF8#FFFFFF#000000##000000
##796CF81.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FD
Deuteranopia (green-blind)
#007BF5
Tritanopia (blue-blind)
#468CA8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796cf8;
/* rgb */ color: rgb(121, 108, 248);
/* oklch */ color: oklch(61.7% 0.202 282.9);
Tailwind
colors: {
  custom: {
    50: '#a996fb',
    500: '#796cf8',
    950: '#000000',
  },
}
SCSS
$custom: #796cf8;
$custom-light: #a996fb;
$custom-dark: #000000;
JSON
{
  "hex": "#796cf8",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 248
  },
  "hsl": {
    "h": 245.571,
    "s": 90.909,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61659,
    "c": 0.20172,
    "h": 282.9
  },
  "luminance": 0.21567
}

Semantic roles & 50–950 ramp

primary
#796CF8
secondary
#F0F4CC
accent
#E600D0
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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