#796AEE#796AEE

#796AEE is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.6% C 0.191 H 284.3°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#796AEE
RGBrgb(121, 106, 238)
HSLhsl(247, 80%, 67%)
HSVhsv(247, 55%, 93%)
CMYKcmyk(49.2%, 55.5%, 0%, 6.7%)
CIE-LABlab(52.45, 39.50, -64.93)
CIE-LCHlch(52.45, 76.00, 301.31°)
OKLaboklab(60.62% 0.0472 -0.1855)
OKLCHoklch(60.62% 0.191 284.3)
XYZxyz(28.4672, 20.5446, 83.3379)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796AEE #DFEE6A
analogous
#6A9DEE #796AEE #BB6AEE
triadic
#796AEE #EE796A #6AEE79
tetradic
#796AEE #EE6A9D #DFEE6A #6AEEBB
square
#796AEE #EE6A9D #DFEE6A #6AEEBB
split-complementary
#796AEE #EEBB6A #9DEE6A
monochromatic
#2B17C7 #4833E8 #796AEE #AAA1F4 #DCD8FB

Accessibility & contrast

On white

4.11
#796AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#796AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796AEE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796AEE#FFFFFF#000000##000000
##796AEE1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1181F2
Deuteranopia (green-blind)
#0079EB
Tritanopia (blue-blind)
#4E88A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #796aee;
/* rgb */ color: rgb(121, 106, 238);
/* oklch */ color: oklch(60.6% 0.191 284.3);
Tailwind
colors: {
  custom: {
    50: '#a795f4',
    500: '#796aee',
    950: '#000000',
  },
}
SCSS
$custom: #796aee;
$custom-light: #a795f4;
$custom-dark: #000000;
JSON
{
  "hex": "#796aee",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 246.818,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60623,
    "c": 0.19144,
    "h": 284.3
  },
  "luminance": 0.20546
}

Semantic roles & 50–950 ramp

primary
#796AEE
secondary
#EAEFC5
accent
#DC0AC4
background
#FAF9FF
surface
#F4F1FE
border
#CECBD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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