#796AE5#796AE5

#796AE5 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 60.0% C 0.180 H 285.2°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#796AE5
RGBrgb(121, 106, 229)
HSLhsl(247, 70%, 66%)
HSVhsv(247, 54%, 90%)
CMYKcmyk(47.2%, 53.7%, 0%, 10.2%)
CIE-LABlab(51.87, 36.86, -60.82)
CIE-LCHlch(51.87, 71.12, 301.22°)
OKLaboklab(60.01% 0.047 -0.1734)
OKLCHoklch(60.01% 0.18 285.2)
XYZxyz(27.1779, 20.0289, 76.5475)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796AE5 #D6E56A
analogous
#6A98E5 #796AE5 #B66AE5
triadic
#796AE5 #E5796A #6AE579
tetradic
#796AE5 #E56A98 #D6E56A #6AE5B6
square
#796AE5 #E56A98 #D6E56A #6AE5B6
split-complementary
#796AE5 #E5B66A #98E56A
monochromatic
#3220B5 #4A36DC #796AE5 #A89EEE #D7D2F7

Accessibility & contrast

On white

4.19
#796AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#796AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796AE5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796AE5#FFFFFF#000000##000000
##796AE51.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#277FE9
Deuteranopia (green-blind)
#2278E2
Tritanopia (blue-blind)
#54859D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #796ae5;
/* rgb */ color: rgb(121, 106, 229);
/* oklch */ color: oklch(60.0% 0.180 285.2);
Tailwind
colors: {
  custom: {
    50: '#a695ee',
    500: '#796ae5',
    950: '#000000',
  },
}
SCSS
$custom: #796ae5;
$custom-light: #a695ee;
$custom-dark: #000000;
JSON
{
  "hex": "#796ae5",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 229
  },
  "hsl": {
    "h": 247.317,
    "s": 70.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6001,
    "c": 0.17969,
    "h": 285.2
  },
  "luminance": 0.2003
}

Semantic roles & 50–950 ramp

primary
#796AE5
secondary
#E5EAC1
accent
#D213BB
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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