#796EEB#796EEB

#796EEB is a mid, vivid blue. Relative luminance 0.212; OKLCH L 61.1% C 0.182 H 283.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#796EEB
RGBrgb(121, 110, 235)
HSLhsl(245, 76%, 68%)
HSVhsv(245, 53%, 92%)
CMYKcmyk(48.5%, 53.2%, 0%, 7.8%)
CIE-LABlab(53.18, 36.27, -62.07)
CIE-LCHlch(53.18, 71.89, 300.30°)
OKLaboklab(61.11% 0.0428 -0.1771)
OKLCHoklch(61.11% 0.182 283.6)
XYZxyz(28.4520, 21.2135, 81.1766)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EEB #E0EB6E
analogous
#6EA1EB #796EEB #B76EEB
triadic
#796EEB #EB796E #6EEB79
tetradic
#796EEB #EB6EA1 #E0EB6E #6EEBB7
square
#796EEB #EB6EA1 #E0EB6E #6EEBB7
split-complementary
#796EEB #EBB76E #A1EB6E
monochromatic
#2A1BC4 #4738E4 #796EEB #ABA4F2 #DCDAFA

Accessibility & contrast

On white

4.01
#796EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#796EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EEB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EEB#FFFFFF#000000##000000
##796EEB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A83EF
Deuteranopia (green-blind)
#217BE8
Tritanopia (blue-blind)
#508AA2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796eeb;
/* rgb */ color: rgb(121, 110, 235);
/* oklch */ color: oklch(61.1% 0.182 283.6);
Tailwind
colors: {
  custom: {
    50: '#a798f2',
    500: '#796eeb',
    950: '#000000',
  },
}
SCSS
$custom: #796eeb;
$custom-light: #a798f2;
$custom-dark: #000000;
JSON
{
  "hex": "#796eeb",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 235
  },
  "hsl": {
    "h": 245.28,
    "s": 75.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61108,
    "c": 0.18218,
    "h": 283.6
  },
  "luminance": 0.21215
}

Semantic roles & 50–950 ramp

primary
#796EEB
secondary
#EAEEC7
accent
#D80EC6
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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