#796AF7#796AF7

#796AF7 is a mid, highly saturated blue. Relative luminance 0.211; OKLCH L 61.3% C 0.203 H 283.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#796AF7
RGBrgb(121, 106, 247)
HSLhsl(246, 90%, 69%)
HSVhsv(246, 57%, 97%)
CMYKcmyk(51%, 57.1%, 0%, 3.1%)
CIE-LABlab(53.04, 42.16, -68.99)
CIE-LCHlch(53.04, 80.85, 301.43°)
OKLaboklab(61.25% 0.0472 -0.1974)
OKLCHoklch(61.25% 0.203 283.4)
XYZxyz(29.8226, 21.0868, 90.4764)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796AF7 #E8F76A
analogous
#6AA2F7 #796AF7 #C06AF7
triadic
#796AF7 #F7796A #6AF779
tetradic
#796AF7 #F76AA2 #E8F76A #6AF7C0
square
#796AF7 #F76AA2 #E8F76A #6AF7C0
split-complementary
#796AF7 #F7C06A #A2F76A
monochromatic
#220CDB #4530F4 #796AF7 #ADA4FA #E1DEFD

Accessibility & contrast

On white

4.02
#796AF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#796AF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796AF7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796AF7#FFFFFF#000000##000000
##796AF71.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#478BA6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796af7;
/* rgb */ color: rgb(121, 106, 247);
/* oklch */ color: oklch(61.3% 0.203 283.4);
Tailwind
colors: {
  custom: {
    50: '#a995fb',
    500: '#796af7',
    950: '#000000',
  },
}
SCSS
$custom: #796af7;
$custom-light: #a995fb;
$custom-dark: #000000;
JSON
{
  "hex": "#796af7",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 246.383,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.61254,
    "c": 0.20302,
    "h": 283.4
  },
  "luminance": 0.21088
}

Semantic roles & 50–950 ramp

primary
#796AF7
secondary
#EFF3CA
accent
#E600CD
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #796AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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