#796DF0#796DF0

#796DF0 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.3% C 0.190 H 283.4°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#796DF0
RGBrgb(121, 109, 240)
HSLhsl(245, 81%, 68%)
HSVhsv(245, 55%, 94%)
CMYKcmyk(49.6%, 54.6%, 0%, 5.9%)
CIE-LABlab(53.27, 38.34, -64.73)
CIE-LCHlch(53.27, 75.23, 300.64°)
OKLaboklab(61.27% 0.044 -0.1849)
OKLCHoklch(61.27% 0.19 283.4)
XYZxyz(29.0772, 21.2920, 84.9988)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DF0 #E4F06D
analogous
#6DA2F0 #796DF0 #BA6DF0
triadic
#796DF0 #F0796D #6DF079
tetradic
#796DF0 #F06DA2 #E4F06D #6DF0BA
square
#796DF0 #F06DA2 #E4F06D #6DF0BA
split-complementary
#796DF0 #F0BA6D #A2F06D
monochromatic
#2615CD #4636EA #796DF0 #ACA4F6 #DFDCFB

Accessibility & contrast

On white

3.99
#796DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#796DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DF0
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DF0#FFFFFF#000000##000000
##796DF01.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C83F4
Deuteranopia (green-blind)
#0B7BED
Tritanopia (blue-blind)
#4C8AA4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796df0;
/* rgb */ color: rgb(121, 109, 240);
/* oklch */ color: oklch(61.3% 0.190 283.4);
Tailwind
colors: {
  custom: {
    50: '#a797f6',
    500: '#796df0',
    950: '#000000',
  },
}
SCSS
$custom: #796df0;
$custom-light: #a797f6;
$custom-dark: #000000;
JSON
{
  "hex": "#796df0",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 240
  },
  "hsl": {
    "h": 245.496,
    "s": 81.366,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61273,
    "c": 0.19007,
    "h": 283.4
  },
  "luminance": 0.21293
}

Semantic roles & 50–950 ramp

primary
#796DF0
secondary
#ECF0C9
accent
#DE08CA
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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