#796EE1#796EE1

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

Color values

HEX#796EE1
RGBrgb(121, 110, 225)
HSLhsl(246, 66%, 66%)
HSVhsv(246, 51%, 88%)
CMYKcmyk(46.2%, 51.1%, 0%, 11.8%)
CIE-LABlab(52.57, 33.33, -57.45)
CIE-LCHlch(52.57, 66.42, 300.12°)
OKLaboklab(60.45% 0.0422 -0.1635)
OKLCHoklch(60.45% 0.169 284.5)
XYZxyz(27.0477, 20.6518, 73.7806)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EE1 #D6E16E
analogous
#6E9CE1 #796EE1 #B26EE1
triadic
#796EE1 #E1796E #6EE179
tetradic
#796EE1 #E16E9C #D6E16E #6EE1B2
square
#796EE1 #E16E9C #D6E16E #6EE1B2
split-complementary
#796EE1 #E1B26E #9CE16E
monochromatic
#3224B0 #4A3BD7 #796EE1 #A8A1EB #D7D3F6

Accessibility & contrast

On white

4.09
#796EE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#796EE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EE1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EE1#FFFFFF#000000##000000
##796EE11.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3881E5
Deuteranopia (green-blind)
#337ADE
Tritanopia (blue-blind)
#56879D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #796ee1;
/* rgb */ color: rgb(121, 110, 225);
/* oklch */ color: oklch(60.5% 0.169 284.5);
Tailwind
colors: {
  custom: {
    50: '#a698eb',
    500: '#796ee1',
    950: '#000000',
  },
}
SCSS
$custom: #796ee1;
$custom-light: #a698eb;
$custom-dark: #000000;
JSON
{
  "hex": "#796ee1",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 225
  },
  "hsl": {
    "h": 245.739,
    "s": 65.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6045,
    "c": 0.16887,
    "h": 284.5
  },
  "luminance": 0.20653
}

Semantic roles & 50–950 ramp

primary
#796EE1
secondary
#E5E9C2
accent
#CE18BC
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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