#796EF4#796EF4

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

Color values

HEX#796EF4
RGBrgb(121, 110, 244)
HSLhsl(245, 86%, 69%)
HSVhsv(245, 55%, 96%)
CMYKcmyk(50.4%, 54.9%, 0%, 4.3%)
CIE-LABlab(53.76, 38.94, -66.17)
CIE-LCHlch(53.76, 76.77, 300.48°)
OKLaboklab(61.72% 0.0431 -0.1891)
OKLCHoklch(61.72% 0.194 282.8)
XYZxyz(29.7853, 21.7468, 88.1985)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EF4 #E9F46E
analogous
#6EA6F4 #796EF4 #BC6EF4
triadic
#796EF4 #F4796E #6EF479
tetradic
#796EF4 #F46EA6 #E9F46E #6EF4BC
square
#796EF4 #F46EA6 #E9F46E #6EF4BC
split-complementary
#796EF4 #F4BC6E #A6F46E
monochromatic
#2110D7 #4435F0 #796EF4 #AEA7F8 #E2E0FD

Accessibility & contrast

On white

3.93
#796EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#796EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EF4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EF4#FFFFFF#000000##000000
##796EF41.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1685F9
Deuteranopia (green-blind)
#007CF1
Tritanopia (blue-blind)
#498CA6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #796ef4;
/* rgb */ color: rgb(121, 110, 244);
/* oklch */ color: oklch(61.7% 0.194 282.8);
Tailwind
colors: {
  custom: {
    50: '#a898f9',
    500: '#796ef4',
    950: '#000000',
  },
}
SCSS
$custom: #796ef4;
$custom-light: #a898f9;
$custom-dark: #000000;
JSON
{
  "hex": "#796ef4",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 244
  },
  "hsl": {
    "h": 244.925,
    "s": 85.897,
    "l": 69.412
  },
  "oklch": {
    "l": 0.61719,
    "c": 0.19397,
    "h": 282.8
  },
  "luminance": 0.21748
}

Semantic roles & 50–950 ramp

primary
#796EF4
secondary
#EFF2CC
accent
#E203D0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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