#796EE9#796EE9

#796EE9 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 61.0% C 0.180 H 283.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#796EE9
RGBrgb(121, 110, 233)
HSLhsl(245, 74%, 67%)
HSVhsv(245, 53%, 91%)
CMYKcmyk(48.1%, 52.8%, 0%, 8.6%)
CIE-LABlab(53.06, 35.68, -61.15)
CIE-LCHlch(53.06, 70.80, 300.26°)
OKLaboklab(60.97% 0.0427 -0.1744)
OKLCHoklch(60.97% 0.18 283.8)
XYZxyz(28.1647, 21.0986, 79.6634)
Luminance0.2110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EE9 #DEE96E
analogous
#6EA0E9 #796EE9 #B76EE9
triadic
#796EE9 #E9796E #6EE979
tetradic
#796EE9 #E96EA0 #DEE96E #6EE9B7
square
#796EE9 #E96EA0 #DEE96E #6EE9B7
split-complementary
#796EE9 #E9B76E #A0E96E
monochromatic
#2C1DC0 #4839E1 #796EE9 #AAA3F1 #DBD8F9

Accessibility & contrast

On white

4.02
#796EE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#796EE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EE9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EE9#FFFFFF#000000##000000
##796EE91.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D83ED
Deuteranopia (green-blind)
#257BE6
Tritanopia (blue-blind)
#5189A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796ee9;
/* rgb */ color: rgb(121, 110, 233);
/* oklch */ color: oklch(61.0% 0.180 283.8);
Tailwind
colors: {
  custom: {
    50: '#a798f1',
    500: '#796ee9',
    950: '#000000',
  },
}
SCSS
$custom: #796ee9;
$custom-light: #a798f1;
$custom-dark: #000000;
JSON
{
  "hex": "#796ee9",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 233
  },
  "hsl": {
    "h": 245.366,
    "s": 73.653,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60974,
    "c": 0.17954,
    "h": 283.8
  },
  "luminance": 0.211
}

Semantic roles & 50–950 ramp

primary
#796EE9
secondary
#E9EDC6
accent
#D610C4
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796EE9

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

Preview Lab → · Contrast checker → · Palette generator →

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