#796CFF#796CFF

#796CFF is a light, highly saturated blue. Relative luminance 0.220; OKLCH L 62.2% C 0.211 H 282.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#796CFF
RGBrgb(121, 108, 255)
HSLhsl(245, 100%, 71%)
HSVhsv(245, 58%, 100%)
CMYKcmyk(52.5%, 57.6%, 0%, 0%)
CIE-LABlab(54.04, 43.37, -71.81)
CIE-LCHlch(54.04, 83.90, 301.13°)
OKLaboklab(62.16% 0.0451 -0.2058)
OKLCHoklch(62.16% 0.211 282.4)
XYZxyz(31.2922, 22.0082, 97.1875)
Luminance0.2201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796CFF #F2FF6C
analogous
#6CA8FF #796CFF #C26CFF
triadic
#796CFF #FF796C #6CFF79
tetradic
#796CFF #FF6CA8 #F2FF6C #6CFFC2
square
#796CFF #FF6CA8 #F2FF6C #6CFFC2
split-complementary
#796CFF #FFC26C #A8FF6C
monochromatic
#1500F1 #412FFF #796CFF #B1A9FF #E3E0FF

Accessibility & contrast

On white

3.89
#796CFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#796CFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796CFF
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796CFF#FFFFFF#000000##000000
##796CFF1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#007CFC
Tritanopia (blue-blind)
#3F8EAB
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #796cff;
/* rgb */ color: rgb(121, 108, 255);
/* oklch */ color: oklch(62.2% 0.211 282.4);
Tailwind
colors: {
  custom: {
    50: '#a996ff',
    500: '#796cff',
    950: '#000000',
  },
}
SCSS
$custom: #796cff;
$custom-light: #a996ff;
$custom-dark: #000000;
JSON
{
  "hex": "#796cff",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 255
  },
  "hsl": {
    "h": 245.306,
    "s": 100,
    "l": 71.176
  },
  "oklch": {
    "l": 0.62157,
    "c": 0.21064,
    "h": 282.4
  },
  "luminance": 0.2201
}

Semantic roles & 50–950 ramp

primary
#796CFF
secondary
#F3F7D0
accent
#E600D1
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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