#796EFD#796EFD

#796EFD is a light, highly saturated blue. Relative luminance 0.223; OKLCH L 62.3% C 0.206 H 282.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#796EFD
RGBrgb(121, 110, 253)
HSLhsl(245, 97%, 71%)
HSVhsv(245, 57%, 99%)
CMYKcmyk(52.2%, 56.5%, 0%, 0.8%)
CIE-LABlab(54.35, 41.62, -70.20)
CIE-LCHlch(54.35, 81.61, 300.66°)
OKLaboklab(62.35% 0.0431 -0.201)
OKLCHoklch(62.35% 0.206 282.1)
XYZxyz(31.1853, 22.3069, 95.5719)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EFD #F2FD6E
analogous
#6EAAFD #796EFD #C06EFD
triadic
#796EFD #FD796E #6EFD79
tetradic
#796EFD #FD6EAA #F2FD6E #6EFDC0
square
#796EFD #FD6EAA #F2FD6E #6EFDC0
split-complementary
#796EFD #FDC06E #AAFD6E
monochromatic
#1503ED #4132FC #796EFD #B1AAFE #E3E1FF

Accessibility & contrast

On white

3.84
#796EFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#796EFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EFD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EFD#FFFFFF#000000##000000
##796EFD1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #796efd;
/* rgb */ color: rgb(121, 110, 253);
/* oklch */ color: oklch(62.3% 0.206 282.1);
Tailwind
colors: {
  custom: {
    50: '#a998ff',
    500: '#796efd',
    950: '#000000',
  },
}
SCSS
$custom: #796efd;
$custom-light: #a998ff;
$custom-dark: #000000;
JSON
{
  "hex": "#796efd",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 253
  },
  "hsl": {
    "h": 244.615,
    "s": 97.279,
    "l": 71.176
  },
  "oklch": {
    "l": 0.62348,
    "c": 0.20556,
    "h": 282.1
  },
  "luminance": 0.22309
}

Semantic roles & 50–950 ramp

primary
#796EFD
secondary
#F3F6D1
accent
#E600D4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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