#796EE2#796EE2

#796EE2 is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.5% C 0.170 H 284.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#796EE2
RGBrgb(121, 110, 226)
HSLhsl(246, 67%, 66%)
HSVhsv(246, 51%, 89%)
CMYKcmyk(46.5%, 51.3%, 0%, 11.4%)
CIE-LABlab(52.63, 33.63, -57.92)
CIE-LCHlch(52.63, 66.97, 300.14°)
OKLaboklab(60.51% 0.0423 -0.1649)
OKLCHoklch(60.51% 0.17 284.4)
XYZxyz(27.1845, 20.7065, 74.5011)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EE2 #D7E26E
analogous
#6E9DE2 #796EE2 #B36EE2
triadic
#796EE2 #E2796E #6EE279
tetradic
#796EE2 #E26E9D #D7E26E #6EE2B3
square
#796EE2 #E26E9D #D7E26E #6EE2B3
split-complementary
#796EE2 #E2B36E #9DE26E
monochromatic
#3124B2 #4A3BD8 #796EE2 #A8A1EC #D7D4F6

Accessibility & contrast

On white

4.08
#796EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#796EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EE2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EE2#FFFFFF#000000##000000
##796EE21.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3681E6
Deuteranopia (green-blind)
#317ADF
Tritanopia (blue-blind)
#56879E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #796ee2;
/* rgb */ color: rgb(121, 110, 226);
/* oklch */ color: oklch(60.5% 0.170 284.4);
Tailwind
colors: {
  custom: {
    50: '#a698ec',
    500: '#796ee2',
    950: '#000000',
  },
}
SCSS
$custom: #796ee2;
$custom-light: #a698ec;
$custom-dark: #000000;
JSON
{
  "hex": "#796ee2",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 226
  },
  "hsl": {
    "h": 245.69,
    "s": 66.667,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60515,
    "c": 0.17021,
    "h": 284.4
  },
  "luminance": 0.20708
}

Semantic roles & 50–950 ramp

primary
#796EE2
secondary
#E5E9C3
accent
#CF17BD
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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