#796DFB#796DFB

#796DFB is a light, highly saturated blue. Relative luminance 0.220; OKLCH L 62.0% C 0.204 H 282.5°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#796DFB
RGBrgb(121, 109, 251)
HSLhsl(245, 95%, 71%)
HSVhsv(245, 57%, 98%)
CMYKcmyk(51.8%, 56.6%, 0%, 1.6%)
CIE-LABlab(53.99, 41.60, -69.67)
CIE-LCHlch(53.99, 81.15, 300.84°)
OKLaboklab(62.04% 0.0441 -0.1995)
OKLCHoklch(62.04% 0.204 282.5)
XYZxyz(30.7611, 21.9655, 93.8670)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DFB #EFFB6D
analogous
#6DA8FB #796DFB #C06DFB
triadic
#796DFB #FB796D #6DFB79
tetradic
#796DFB #FB6DA8 #EFFB6D #6DFBC0
square
#796DFB #FB6DA8 #EFFB6D #6DFBC0
split-complementary
#796DFB #FBC06D #A8FB6D
monochromatic
#1906E7 #4231F9 #796DFB #B0A9FD #E4E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796DFB#FFFFFF#000000##000000
##796DFB1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007CF8
Tritanopia (blue-blind)
#438EAA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #796dfb;
/* rgb */ color: rgb(121, 109, 251);
/* oklch */ color: oklch(62.0% 0.204 282.5);
Tailwind
colors: {
  custom: {
    50: '#a997fd',
    500: '#796dfb',
    950: '#000000',
  },
}
SCSS
$custom: #796dfb;
$custom-light: #a997fd;
$custom-dark: #000000;
JSON
{
  "hex": "#796dfb",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 245.07,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.62038,
    "c": 0.20429,
    "h": 282.5
  },
  "luminance": 0.21967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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