#796BFC#796BFC

#796BFC is a mid, highly saturated blue. Relative luminance 0.216; OKLCH L 61.8% C 0.208 H 282.8°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#796BFC
RGBrgb(121, 107, 252)
HSLhsl(246, 96%, 70%)
HSVhsv(246, 58%, 99%)
CMYKcmyk(52%, 57.5%, 0%, 1.2%)
CIE-LABlab(53.61, 43.06, -70.85)
CIE-LCHlch(53.61, 82.91, 301.29°)
OKLaboklab(61.78% 0.0461 -0.2029)
OKLCHoklch(61.78% 0.208 282.8)
XYZxyz(30.7082, 21.6069, 94.6290)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796BFC #EEFC6B
analogous
#6BA5FC #796BFC #C16BFC
triadic
#796BFC #FC796B #6BFC79
tetradic
#796BFC #FC6BA5 #EEFC6B #6BFCC1
square
#796BFC #FC6BA5 #EEFC6B #6BFCC1
split-complementary
#796BFC #FCC16B #A5FC6B
monochromatic
#1B05E8 #432FFB #796BFC #AFA7FD #E4E1FE

Accessibility & contrast

On white

3.95
#796BFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#796BFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796BFC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796BFC#FFFFFF#000000##000000
##796BFC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007BF9
Tritanopia (blue-blind)
#428DA9
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796bfc;
/* rgb */ color: rgb(121, 107, 252);
/* oklch */ color: oklch(61.8% 0.208 282.8);
Tailwind
colors: {
  custom: {
    50: '#a996fe',
    500: '#796bfc',
    950: '#000000',
  },
}
SCSS
$custom: #796bfc;
$custom-light: #a996fe;
$custom-dark: #000000;
JSON
{
  "hex": "#796bfc",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 252
  },
  "hsl": {
    "h": 245.793,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.61777,
    "c": 0.2081,
    "h": 282.8
  },
  "luminance": 0.21609
}

Semantic roles & 50–950 ramp

primary
#796BFC
secondary
#F1F5CE
accent
#E600CF
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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