#796FFD#796FFD

#796FFD is a light, highly saturated blue. Relative luminance 0.225; OKLCH L 62.5% C 0.204 H 281.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#796FFD
RGBrgb(121, 111, 253)
HSLhsl(244, 97%, 71%)
HSVhsv(244, 56%, 99%)
CMYKcmyk(52.2%, 56.1%, 0%, 0.8%)
CIE-LABlab(54.58, 41.04, -69.83)
CIE-LCHlch(54.58, 81.00, 300.44°)
OKLaboklab(62.52% 0.0421 -0.1999)
OKLCHoklch(62.52% 0.204 281.9)
XYZxyz(31.2938, 22.5239, 95.6080)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FFD #F3FD6F
analogous
#6FACFD #796FFD #C06FFD
triadic
#796FFD #FD796F #6FFD79
tetradic
#796FFD #FD6FAC #F3FD6F #6FFDC0
square
#796FFD #FD6FAC #F3FD6F #6FFDC0
split-complementary
#796FFD #FDC06F #ACFD6F
monochromatic
#1403EE #4133FC #796FFD #B1ABFE #E3E1FF

Accessibility & contrast

On white

3.81
#796FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#796FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FFD
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FFD#FFFFFF#000000##000000
##796FFD1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#007EFA
Tritanopia (blue-blind)
#4190AB
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #796ffd;
/* rgb */ color: rgb(121, 111, 253);
/* oklch */ color: oklch(62.5% 0.204 281.9);
Tailwind
colors: {
  custom: {
    50: '#a998ff',
    500: '#796ffd',
    950: '#000000',
  },
}
SCSS
$custom: #796ffd;
$custom-light: #a998ff;
$custom-dark: #000000;
JSON
{
  "hex": "#796ffd",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 253
  },
  "hsl": {
    "h": 244.225,
    "s": 97.26,
    "l": 71.373
  },
  "oklch": {
    "l": 0.62516,
    "c": 0.2043,
    "h": 281.9
  },
  "luminance": 0.22526
}

Semantic roles & 50–950 ramp

primary
#796FFD
secondary
#F4F6D1
accent
#E600D5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #796FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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