#796DF6#796DF6

#796DF6 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.7% C 0.198 H 282.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#796DF6
RGBrgb(121, 109, 246)
HSLhsl(245, 88%, 70%)
HSVhsv(245, 56%, 96%)
CMYKcmyk(50.8%, 55.7%, 0%, 3.5%)
CIE-LABlab(53.66, 40.12, -67.44)
CIE-LCHlch(53.66, 78.47, 300.75°)
OKLaboklab(61.69% 0.0441 -0.1929)
OKLCHoklch(61.69% 0.198 282.9)
XYZxyz(29.9833, 21.6544, 89.7707)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DF6 #EAF66D
analogous
#6DA6F6 #796DF6 #BD6DF6
triadic
#796DF6 #F6796D #6DF679
tetradic
#796DF6 #F66DA6 #EAF66D #6DF6BD
square
#796DF6 #F66DA6 #EAF66D #6DF6BD
split-complementary
#796DF6 #F6BD6D #A6F66D
monochromatic
#200EDB #4433F2 #796DF6 #AEA7FA #E3E0FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796DF6#FFFFFF#000000##000000
##796DF61.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)
#0485FB
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#478CA7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796df6;
/* rgb */ color: rgb(121, 109, 246);
/* oklch */ color: oklch(61.7% 0.198 282.9);
Tailwind
colors: {
  custom: {
    50: '#a897fa',
    500: '#796df6',
    950: '#000000',
  },
}
SCSS
$custom: #796df6;
$custom-light: #a897fa;
$custom-dark: #000000;
JSON
{
  "hex": "#796df6",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 246
  },
  "hsl": {
    "h": 245.255,
    "s": 88.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.61687,
    "c": 0.19786,
    "h": 282.9
  },
  "luminance": 0.21656
}

Semantic roles & 50–950 ramp

primary
#796DF6
secondary
#F0F3CC
accent
#E501D1
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #796DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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