#796ADE#796ADE

#796ADE is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.5% C 0.170 H 285.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#796ADE
RGBrgb(121, 106, 222)
HSLhsl(248, 64%, 64%)
HSVhsv(248, 52%, 87%)
CMYKcmyk(45.5%, 52.3%, 0%, 12.9%)
CIE-LABlab(51.43, 34.82, -57.57)
CIE-LCHlch(51.43, 67.29, 301.17°)
OKLaboklab(59.55% 0.0467 -0.1639)
OKLCHoklch(59.55% 0.17 285.9)
XYZxyz(26.2202, 19.6458, 71.5035)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796ADE #CFDE6A
analogous
#6A95DE #796ADE #B36ADE
triadic
#796ADE #DE796A #6ADE79
tetradic
#796ADE #DE6A95 #CFDE6A #6ADEB3
square
#796ADE #DE6A95 #CFDE6A #6ADEB3
split-complementary
#796ADE #DEB36A #95DE6A
monochromatic
#3625A8 #4C38D3 #796ADE #A69CE9 #D3CEF4

Accessibility & contrast

On white

4.26
#796ADE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#796ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796ADE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796ADE#FFFFFF#000000##000000
##796ADE1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#317EE2
Deuteranopia (green-blind)
#2E77DB
Tritanopia (blue-blind)
#58839A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #796ade;
/* rgb */ color: rgb(121, 106, 222);
/* oklch */ color: oklch(59.5% 0.170 285.9);
Tailwind
colors: {
  custom: {
    50: '#a695e9',
    500: '#796ade',
    950: '#000000',
  },
}
SCSS
$custom: #796ade;
$custom-light: #a695e9;
$custom-dark: #000000;
JSON
{
  "hex": "#796ade",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 222
  },
  "hsl": {
    "h": 247.759,
    "s": 63.736,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59546,
    "c": 0.17041,
    "h": 285.9
  },
  "luminance": 0.19647
}

Semantic roles & 50–950 ramp

primary
#796ADE
secondary
#E1E6BE
accent
#CC1AB5
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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