#796CFC#796CFC

#796CFC is a mid, highly saturated blue. Relative luminance 0.218; OKLCH L 61.9% C 0.207 H 282.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#796CFC
RGBrgb(121, 108, 252)
HSLhsl(245, 96%, 71%)
HSVhsv(245, 57%, 99%)
CMYKcmyk(52%, 57.1%, 0%, 1.2%)
CIE-LABlab(53.83, 42.48, -70.49)
CIE-LCHlch(53.83, 82.30, 301.08°)
OKLaboklab(61.94% 0.0451 -0.2018)
OKLCHoklch(61.94% 0.207 282.6)
XYZxyz(30.8130, 21.8166, 94.6640)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796CFC #EFFC6C
analogous
#6CA7FC #796CFC #C16CFC
triadic
#796CFC #FC796C #6CFC79
tetradic
#796CFC #FC6CA7 #EFFC6C #6CFCC1
square
#796CFC #FC6CA7 #EFFC6C #6CFCC1
split-complementary
#796CFC #FCC16C #A7FC6C
monochromatic
#1905E9 #4230FB #796CFC #B0A8FD #E4E1FE

Accessibility & contrast

On white

3.92
#796CFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#796CFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796CFC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796CFC#FFFFFF#000000##000000
##796CFC1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007CF9
Tritanopia (blue-blind)
#428DAA
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #796cfc;
/* rgb */ color: rgb(121, 108, 252);
/* oklch */ color: oklch(61.9% 0.207 282.6);
Tailwind
colors: {
  custom: {
    50: '#a996fe',
    500: '#796cfc',
    950: '#000000',
  },
}
SCSS
$custom: #796cfc;
$custom-light: #a996fe;
$custom-dark: #000000;
JSON
{
  "hex": "#796cfc",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 252
  },
  "hsl": {
    "h": 245.417,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.61942,
    "c": 0.20684,
    "h": 282.6
  },
  "luminance": 0.21818
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796CFC

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

Preview Lab → · Contrast checker → · Palette generator →

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