#796FFA#796FFA

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

Color values

HEX#796FFA
RGBrgb(121, 111, 250)
HSLhsl(244, 93%, 71%)
HSVhsv(244, 56%, 98%)
CMYKcmyk(51.6%, 55.6%, 0%, 2%)
CIE-LABlab(54.38, 40.14, -68.49)
CIE-LCHlch(54.38, 79.39, 300.38°)
OKLaboklab(62.31% 0.0421 -0.196)
OKLCHoklch(62.31% 0.2 282.1)
XYZxyz(30.8196, 22.3342, 93.1109)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FFA #F0FA6F
analogous
#6FAAFA #796FFA #BF6FFA
triadic
#796FFA #FA796F #6FFA79
tetradic
#796FFA #FA6FAA #F0FA6F #6FFABF
square
#796FFA #FA6FAA #F0FA6F #6FFABF
split-complementary
#796FFA #FABF6F #AAFA6F
monochromatic
#1808E7 #4234F8 #796FFA #B0AAFC #E3E1FE

Accessibility & contrast

On white

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

On black

5.47
#796FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FFA
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FFA#FFFFFF#000000##000000
##796FFA1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0287FF
Deuteranopia (green-blind)
#007DF7
Tritanopia (blue-blind)
#438FAA
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #796ffa;
/* rgb */ color: rgb(121, 111, 250);
/* oklch */ color: oklch(62.3% 0.200 282.1);
Tailwind
colors: {
  custom: {
    50: '#a998fd',
    500: '#796ffa',
    950: '#000000',
  },
}
SCSS
$custom: #796ffa;
$custom-light: #a998fd;
$custom-dark: #000000;
JSON
{
  "hex": "#796ffa",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 250
  },
  "hsl": {
    "h": 244.317,
    "s": 93.289,
    "l": 70.784
  },
  "oklch": {
    "l": 0.62306,
    "c": 0.20043,
    "h": 282.1
  },
  "luminance": 0.22336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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