#796AE0#796AE0

#796AE0 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.7% C 0.173 H 285.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#796AE0
RGBrgb(121, 106, 224)
HSLhsl(248, 66%, 65%)
HSVhsv(248, 53%, 88%)
CMYKcmyk(46%, 52.7%, 0%, 12.2%)
CIE-LABlab(51.56, 35.40, -58.51)
CIE-LCHlch(51.56, 68.38, 301.18°)
OKLaboklab(59.68% 0.0468 -0.1666)
OKLCHoklch(59.68% 0.173 285.7)
XYZxyz(26.4898, 19.7537, 72.9236)
Luminance0.1976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796AE0 #D1E06A
analogous
#6A96E0 #796AE0 #B46AE0
triadic
#796AE0 #E0796A #6AE079
tetradic
#796AE0 #E06A96 #D1E06A #6AE0B4
square
#796AE0 #E06A96 #D1E06A #6AE0B4
split-complementary
#796AE0 #E0B46A #96E06A
monochromatic
#3524AC #4B37D5 #796AE0 #A79DEB #D4CFF5

Accessibility & contrast

On white

4.24
#796AE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#796AE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796AE0
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796AE0#FFFFFF#000000##000000
##796AE01.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7EE4
Deuteranopia (green-blind)
#2B77DD
Tritanopia (blue-blind)
#57849B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #796ae0;
/* rgb */ color: rgb(121, 106, 224);
/* oklch */ color: oklch(59.7% 0.173 285.7);
Tailwind
colors: {
  custom: {
    50: '#a695ea',
    500: '#796ae0',
    950: '#000000',
  },
}
SCSS
$custom: #796ae0;
$custom-light: #a695ea;
$custom-dark: #000000;
JSON
{
  "hex": "#796ae0",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 224
  },
  "hsl": {
    "h": 247.627,
    "s": 65.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59677,
    "c": 0.17307,
    "h": 285.7
  },
  "luminance": 0.19755
}

Semantic roles & 50–950 ramp

primary
#796AE0
secondary
#E2E7BF
accent
#CD18B6
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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