#796AE6#796AE6

#796AE6 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 60.1% C 0.181 H 285.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#796AE6
RGBrgb(121, 106, 230)
HSLhsl(247, 71%, 66%)
HSVhsv(247, 54%, 90%)
CMYKcmyk(47.4%, 53.9%, 0%, 9.8%)
CIE-LABlab(51.93, 37.15, -61.28)
CIE-LCHlch(51.93, 71.66, 301.23°)
OKLaboklab(60.08% 0.047 -0.1748)
OKLCHoklch(60.08% 0.181 285.1)
XYZxyz(27.3179, 20.0849, 77.2849)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796AE6 #D7E66A
analogous
#6A99E6 #796AE6 #B76AE6
triadic
#796AE6 #E6796A #6AE679
tetradic
#796AE6 #E66A99 #D7E66A #6AE6B7
square
#796AE6 #E66A99 #D7E66A #6AE6B7
split-complementary
#796AE6 #E6B76A #99E66A
monochromatic
#311FB7 #4A36DD #796AE6 #A89EEF #D7D3F8

Accessibility & contrast

On white

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

On black

5.02
#796AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796AE6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796AE6#FFFFFF#000000##000000
##796AE61.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#257FEA
Deuteranopia (green-blind)
#1F78E3
Tritanopia (blue-blind)
#53859E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #796ae6;
/* rgb */ color: rgb(121, 106, 230);
/* oklch */ color: oklch(60.1% 0.181 285.1);
Tailwind
colors: {
  custom: {
    50: '#a695ef',
    500: '#796ae6',
    950: '#000000',
  },
}
SCSS
$custom: #796ae6;
$custom-light: #a695ef;
$custom-dark: #000000;
JSON
{
  "hex": "#796ae6",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 230
  },
  "hsl": {
    "h": 247.258,
    "s": 71.264,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60077,
    "c": 0.181,
    "h": 285.1
  },
  "luminance": 0.20086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #796AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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