#796EE7#796EE7

#796EE7 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.8% C 0.177 H 283.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#796EE7
RGBrgb(121, 110, 231)
HSLhsl(245, 72%, 67%)
HSVhsv(245, 52%, 91%)
CMYKcmyk(47.6%, 52.4%, 0%, 9.4%)
CIE-LABlab(52.93, 35.09, -60.23)
CIE-LCHlch(52.93, 69.71, 300.23°)
OKLaboklab(60.84% 0.0426 -0.1717)
OKLCHoklch(60.84% 0.177 283.9)
XYZxyz(27.8806, 20.9850, 78.1672)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EE7 #DCE76E
analogous
#6E9FE7 #796EE7 #B66EE7
triadic
#796EE7 #E7796E #6EE779
tetradic
#796EE7 #E76E9F #DCE76E #6EE7B6
square
#796EE7 #E76E9F #DCE76E #6EE7B6
split-complementary
#796EE7 #E7B66E #9FE76E
monochromatic
#2D1FBC #4839DE #796EE7 #AAA3F0 #DAD7F8

Accessibility & contrast

On white

4.04
#796EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#796EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EE7
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EE7#FFFFFF#000000##000000
##796EE71.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3082EB
Deuteranopia (green-blind)
#297AE4
Tritanopia (blue-blind)
#5288A0
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #796ee7;
/* rgb */ color: rgb(121, 110, 231);
/* oklch */ color: oklch(60.8% 0.177 283.9);
Tailwind
colors: {
  custom: {
    50: '#a698ef',
    500: '#796ee7',
    950: '#000000',
  },
}
SCSS
$custom: #796ee7;
$custom-light: #a698ef;
$custom-dark: #000000;
JSON
{
  "hex": "#796ee7",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 231
  },
  "hsl": {
    "h": 245.455,
    "s": 71.598,
    "l": 66.863
  },
  "oklch": {
    "l": 0.60842,
    "c": 0.17688,
    "h": 283.9
  },
  "luminance": 0.20986
}

Semantic roles & 50–950 ramp

primary
#796EE7
secondary
#E8ECC5
accent
#D412C2
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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