#796FF6#796FF6

#796FF6 is a light, vivid blue. Relative luminance 0.221; OKLCH L 62.0% C 0.195 H 282.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#796FF6
RGBrgb(121, 111, 246)
HSLhsl(244, 88%, 70%)
HSVhsv(244, 55%, 96%)
CMYKcmyk(50.8%, 54.9%, 0%, 3.5%)
CIE-LABlab(54.12, 38.95, -66.69)
CIE-LCHlch(54.12, 77.24, 300.29°)
OKLaboklab(62.03% 0.042 -0.1907)
OKLCHoklch(62.03% 0.195 282.4)
XYZxyz(30.1991, 22.0860, 89.8427)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FF6 #ECF66F
analogous
#6FA9F6 #796FF6 #BC6FF6
triadic
#796FF6 #F6796F #6FF679
tetradic
#796FF6 #F66FA9 #ECF66F #6FF6BC
square
#796FF6 #F66FA9 #ECF66F #6FF6BC
split-complementary
#796FF6 #F6BC6F #A9F66F
monochromatic
#1D0EDD #4335F2 #796FF6 #AFA9FA #E4E2FD

Accessibility & contrast

On white

3.88
#796FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#796FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FF6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FF6#FFFFFF#000000##000000
##796FF61.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1586FB
Deuteranopia (green-blind)
#007DF3
Tritanopia (blue-blind)
#478EA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #796ff6;
/* rgb */ color: rgb(121, 111, 246);
/* oklch */ color: oklch(62.0% 0.195 282.4);
Tailwind
colors: {
  custom: {
    50: '#a898fa',
    500: '#796ff6',
    950: '#000000',
  },
}
SCSS
$custom: #796ff6;
$custom-light: #a898fa;
$custom-dark: #000000;
JSON
{
  "hex": "#796ff6",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 246
  },
  "hsl": {
    "h": 244.444,
    "s": 88.235,
    "l": 70
  },
  "oklch": {
    "l": 0.62028,
    "c": 0.19526,
    "h": 282.4
  },
  "luminance": 0.22088
}

Semantic roles & 50–950 ramp

primary
#796FF6
secondary
#F1F3CE
accent
#E501D4
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #796FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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