#796DF9#796DF9

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

Color values

HEX#796DF9
RGBrgb(121, 109, 249)
HSLhsl(245, 92%, 70%)
HSVhsv(245, 56%, 98%)
CMYKcmyk(51.4%, 56.2%, 0%, 2.4%)
CIE-LABlab(53.86, 41.01, -68.78)
CIE-LCHlch(53.86, 80.08, 300.80°)
OKLaboklab(61.9% 0.0441 -0.1968)
OKLCHoklch(61.9% 0.202 282.6)
XYZxyz(30.4475, 21.8401, 92.2154)
Luminance0.2184 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DF9 #EDF96D
analogous
#6DA7F9 #796DF9 #BF6DF9
triadic
#796DF9 #F9796D #6DF979
tetradic
#796DF9 #F96DA7 #EDF96D #6DF9BF
square
#796DF9 #F96DA7 #EDF96D #6DF9BF
split-complementary
#796DF9 #F9BF6D #A7F96D
monochromatic
#1C09E2 #4332F7 #796DF9 #AFA8FB #E4E2FE

Accessibility & contrast

On white

3.91
#796DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#796DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DF9
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DF9#FFFFFF#000000##000000
##796DF91.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FE
Deuteranopia (green-blind)
#007CF6
Tritanopia (blue-blind)
#458DA9
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #796df9;
/* rgb */ color: rgb(121, 109, 249);
/* oklch */ color: oklch(61.9% 0.202 282.6);
Tailwind
colors: {
  custom: {
    50: '#a997fc',
    500: '#796df9',
    950: '#000000',
  },
}
SCSS
$custom: #796df9;
$custom-light: #a997fc;
$custom-dark: #000000;
JSON
{
  "hex": "#796df9",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 249
  },
  "hsl": {
    "h": 245.143,
    "s": 92.105,
    "l": 70.196
  },
  "oklch": {
    "l": 0.61897,
    "c": 0.20172,
    "h": 282.6
  },
  "luminance": 0.21842
}

Semantic roles & 50–950 ramp

primary
#796DF9
secondary
#F1F4CD
accent
#E600D2
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #796DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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