#796EF6#796EF6

#796EF6 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.9% C 0.197 H 282.7°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#796EF6
RGBrgb(121, 110, 246)
HSLhsl(245, 88%, 70%)
HSVhsv(245, 55%, 96%)
CMYKcmyk(50.8%, 55.3%, 0%, 3.5%)
CIE-LABlab(53.89, 39.53, -67.07)
CIE-LCHlch(53.89, 77.85, 300.52°)
OKLaboklab(61.86% 0.0431 -0.1918)
OKLCHoklch(61.86% 0.197 282.7)
XYZxyz(30.0906, 21.8690, 89.8065)
Luminance0.2187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EF6 #EBF66E
analogous
#6EA7F6 #796EF6 #BD6EF6
triadic
#796EF6 #F6796E #6EF679
tetradic
#796EF6 #F66EA7 #EBF66E #6EF6BD
square
#796EF6 #F66EA7 #EBF66E #6EF6BD
split-complementary
#796EF6 #F6BD6E #A7F66E
monochromatic
#1E0EDC #4434F2 #796EF6 #AEA8FA #E4E1FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796EF6#FFFFFF#000000##000000
##796EF61.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)
#0E85FB
Deuteranopia (green-blind)
#007CF3
Tritanopia (blue-blind)
#478DA7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #796ef6;
/* rgb */ color: rgb(121, 110, 246);
/* oklch */ color: oklch(61.9% 0.197 282.7);
Tailwind
colors: {
  custom: {
    50: '#a898fa',
    500: '#796ef6',
    950: '#000000',
  },
}
SCSS
$custom: #796ef6;
$custom-light: #a898fa;
$custom-dark: #000000;
JSON
{
  "hex": "#796ef6",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 246
  },
  "hsl": {
    "h": 244.853,
    "s": 88.312,
    "l": 69.804
  },
  "oklch": {
    "l": 0.61857,
    "c": 0.19656,
    "h": 282.7
  },
  "luminance": 0.21871
}

Semantic roles & 50–950 ramp

primary
#796EF6
secondary
#F0F3CD
accent
#E501D2
background
#FAF9FF
surface
#F5F2FF
border
#CFCCD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #796EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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