#796AE8#796AE8

#796AE8 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 60.2% C 0.184 H 284.9°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#796AE8
RGBrgb(121, 106, 232)
HSLhsl(247, 73%, 66%)
HSVhsv(247, 54%, 91%)
CMYKcmyk(47.8%, 54.3%, 0%, 9%)
CIE-LABlab(52.06, 37.74, -62.20)
CIE-LCHlch(52.06, 72.75, 301.25°)
OKLaboklab(60.21% 0.0471 -0.1775)
OKLCHoklch(60.21% 0.184 284.9)
XYZxyz(27.6004, 20.1979, 78.7726)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796AE8 #D9E86A
analogous
#6A9AE8 #796AE8 #B86AE8
triadic
#796AE8 #E8796A #6AE879
tetradic
#796AE8 #E86A9A #D9E86A #6AE8B8
square
#796AE8 #E86A9A #D9E86A #6AE8B8
split-complementary
#796AE8 #E8B86A #9AE86A
monochromatic
#301DBB #4935E0 #796AE8 #A99FF0 #D8D4F8

Accessibility & contrast

On white

4.17
#796AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#796AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796AE8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796AE8#FFFFFF#000000##000000
##796AE81.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2180EC
Deuteranopia (green-blind)
#1A78E5
Tritanopia (blue-blind)
#52869F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #796ae8;
/* rgb */ color: rgb(121, 106, 232);
/* oklch */ color: oklch(60.2% 0.184 284.9);
Tailwind
colors: {
  custom: {
    50: '#a795f0',
    500: '#796ae8',
    950: '#000000',
  },
}
SCSS
$custom: #796ae8;
$custom-light: #a795f0;
$custom-dark: #000000;
JSON
{
  "hex": "#796ae8",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 232
  },
  "hsl": {
    "h": 247.143,
    "s": 73.256,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60212,
    "c": 0.18362,
    "h": 284.9
  },
  "luminance": 0.20199
}

Semantic roles & 50–950 ramp

primary
#796AE8
secondary
#E7EBC2
accent
#D510BE
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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