#796FFF#796FFF

#796FFF is a light, highly saturated blue. Relative luminance 0.227; OKLCH L 62.7% C 0.207 H 281.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#796FFF
RGBrgb(121, 111, 255)
HSLhsl(244, 100%, 72%)
HSVhsv(244, 56%, 100%)
CMYKcmyk(52.5%, 56.5%, 0%, 0%)
CIE-LABlab(54.71, 41.64, -70.72)
CIE-LCHlch(54.71, 82.07, 300.49°)
OKLaboklab(62.66% 0.0421 -0.2025)
OKLCHoklch(62.66% 0.207 281.7)
XYZxyz(31.6140, 22.6520, 97.2948)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FFF #F5FF6F
analogous
#6FADFF #796FFF #C16FFF
triadic
#796FFF #FF796F #6FFF79
tetradic
#796FFF #FF6FAD #F5FF6F #6FFFC1
square
#796FFF #FF6FAD #F5FF6F #6FFFC1
split-complementary
#796FFF #FFC16F #ADFF6F
monochromatic
#1100F4 #4032FF #796FFF #B2ACFF #E3E0FF

Accessibility & contrast

On white

3.80
#796FFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#796FFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FFF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FFF#FFFFFF#000000##000000
##796FFF1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#007EFC
Tritanopia (blue-blind)
#3F90AC
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #796fff;
/* rgb */ color: rgb(121, 111, 255);
/* oklch */ color: oklch(62.7% 0.207 281.7);
Tailwind
colors: {
  custom: {
    50: '#a998ff',
    500: '#796fff',
    950: '#000000',
  },
}
SCSS
$custom: #796fff;
$custom-light: #a998ff;
$custom-dark: #000000;
JSON
{
  "hex": "#796fff",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 255
  },
  "hsl": {
    "h": 244.167,
    "s": 100,
    "l": 71.765
  },
  "oklch": {
    "l": 0.62657,
    "c": 0.20685,
    "h": 281.7
  },
  "luminance": 0.22654
}

Semantic roles & 50–950 ramp

primary
#796FFF
secondary
#F5F7D3
accent
#E600D6
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E18
muted
#807E86

Preview Lab

Preview with #796FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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