#796ACB#796ACB

#796ACB is a mid, vivid blue. Relative luminance 0.187; OKLCH L 58.3% C 0.145 H 288.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#796ACB
RGBrgb(121, 106, 203)
HSLhsl(249, 48%, 61%)
HSVhsv(249, 48%, 80%)
CMYKcmyk(40.4%, 47.8%, 0%, 20.4%)
CIE-LABlab(50.32, 29.38, -48.57)
CIE-LCHlch(50.32, 56.76, 301.17°)
OKLaboklab(58.35% 0.0451 -0.1374)
OKLCHoklch(58.35% 0.145 288.2)
XYZxyz(23.8157, 18.6840, 58.8399)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796ACB #BCCB6A
analogous
#6A8BCB #796ACB #A96ACB
triadic
#796ACB #CB796A #6ACB79
tetradic
#796ACB #CB6A8B #BCCB6A #6ACBA9
square
#796ACB #CB6A8B #BCCB6A #6ACBA9
split-complementary
#796ACB #CBA96A #8BCB6A
monochromatic
#3E308A #5340B8 #796ACB #A297DB #CBC5EB

Accessibility & contrast

On white

4.43
#796ACB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#796ACB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796ACB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796ACB#FFFFFF#000000##000000
##796ACB1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#447ACE
Deuteranopia (green-blind)
#4475C9
Tritanopia (blue-blind)
#627E91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #796acb;
/* rgb */ color: rgb(121, 106, 203);
/* oklch */ color: oklch(58.3% 0.145 288.2);
Tailwind
colors: {
  custom: {
    50: '#a495db',
    500: '#796acb',
    950: '#000000',
  },
}
SCSS
$custom: #796acb;
$custom-light: #a495db;
$custom-dark: #000000;
JSON
{
  "hex": "#796acb",
  "rgb": {
    "r": 121,
    "g": 106,
    "b": 203
  },
  "hsl": {
    "h": 249.278,
    "s": 48.259,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58347,
    "c": 0.14466,
    "h": 288.2
  },
  "luminance": 0.18685
}

Semantic roles & 50–950 ramp

primary
#796ACB
secondary
#D5DBB6
accent
#BC2AA5
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #796ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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