#796BFD#796BFD

#796BFD is a mid, highly saturated blue. Relative luminance 0.217; OKLCH L 61.8% C 0.209 H 282.7°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#796BFD
RGBrgb(121, 107, 253)
HSLhsl(246, 97%, 71%)
HSVhsv(246, 58%, 99%)
CMYKcmyk(52.2%, 57.7%, 0%, 0.8%)
CIE-LABlab(53.68, 43.36, -71.29)
CIE-LCHlch(53.68, 83.44, 301.31°)
OKLaboklab(61.85% 0.0461 -0.2042)
OKLCHoklch(61.85% 0.209 282.7)
XYZxyz(30.8671, 21.6704, 95.4658)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796BFD #EFFD6B
analogous
#6BA6FD #796BFD #C26BFD
triadic
#796BFD #FD796B #6BFD79
tetradic
#796BFD #FD6BA6 #EFFD6B #6BFDC2
square
#796BFD #FD6BA6 #EFFD6B #6BFDC2
split-complementary
#796BFD #FDC26B #A6FD6B
monochromatic
#1903EA #422FFC #796BFD #B0A7FE #E4E1FF

Accessibility & contrast

On white

3.94
#796BFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#796BFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796BFD
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796BFD#FFFFFF#000000##000000
##796BFD1.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007BFA
Tritanopia (blue-blind)
#418DAA
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796bfd;
/* rgb */ color: rgb(121, 107, 253);
/* oklch */ color: oklch(61.8% 0.209 282.7);
Tailwind
colors: {
  custom: {
    50: '#a996ff',
    500: '#796bfd',
    950: '#000000',
  },
}
SCSS
$custom: #796bfd;
$custom-light: #a996ff;
$custom-dark: #000000;
JSON
{
  "hex": "#796bfd",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 253
  },
  "hsl": {
    "h": 245.753,
    "s": 97.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.61849,
    "c": 0.20937,
    "h": 282.7
  },
  "luminance": 0.21672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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