#796DFE#796DFE

#796DFE is a light, highly saturated blue. Relative luminance 0.222; OKLCH L 62.3% C 0.208 H 282.2°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#796DFE
RGBrgb(121, 109, 254)
HSLhsl(245, 99%, 71%)
HSVhsv(245, 57%, 100%)
CMYKcmyk(52.4%, 57.1%, 0%, 0.4%)
CIE-LABlab(54.19, 42.50, -71.01)
CIE-LCHlch(54.19, 82.75, 300.90°)
OKLaboklab(62.25% 0.0441 -0.2034)
OKLCHoklch(62.25% 0.208 282.2)
XYZxyz(31.2377, 22.1562, 96.3773)
Luminance0.2216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DFE #F2FE6D
analogous
#6DA9FE #796DFE #C26DFE
triadic
#796DFE #FE796D #6DFE79
tetradic
#796DFE #FE6DA9 #F2FE6D #6DFEC2
square
#796DFE #FE6DA9 #F2FE6D #6DFEC2
split-complementary
#796DFE #FEC26D #A9FE6D
monochromatic
#1502EF #4130FE #796DFE #B1AAFE #E3E1FF

Accessibility & contrast

On white

3.87
#796DFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#796DFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DFE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DFE#FFFFFF#000000##000000
##796DFE1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#007DFB
Tritanopia (blue-blind)
#408FAB
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #796dfe;
/* rgb */ color: rgb(121, 109, 254);
/* oklch */ color: oklch(62.3% 0.208 282.2);
Tailwind
colors: {
  custom: {
    50: '#a997ff',
    500: '#796dfe',
    950: '#000000',
  },
}
SCSS
$custom: #796dfe;
$custom-light: #a997ff;
$custom-dark: #000000;
JSON
{
  "hex": "#796dfe",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 244.966,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.62252,
    "c": 0.20811,
    "h": 282.2
  },
  "luminance": 0.22158
}

Semantic roles & 50–950 ramp

primary
#796DFE
secondary
#F3F6D0
accent
#E600D3
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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