#796CCE#796CCE

#796CCE is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.9% C 0.146 H 287.1°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#796CCE
RGBrgb(121, 108, 206)
HSLhsl(248, 50%, 62%)
HSVhsv(248, 48%, 81%)
CMYKcmyk(41.3%, 47.6%, 0%, 19.2%)
CIE-LABlab(50.97, 29.03, -49.23)
CIE-LCHlch(50.97, 57.16, 300.53°)
OKLaboklab(58.9% 0.0429 -0.1394)
OKLCHoklch(58.9% 0.146 287.1)
XYZxyz(24.3852, 19.2454, 60.8105)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796CCE #C1CE6C
analogous
#6C90CE #796CCE #AA6CCE
triadic
#796CCE #CE796C #6CCE79
tetradic
#796CCE #CE6C90 #C1CE6C #6CCEAA
square
#796CCE #CE6C90 #C1CE6C #6CCEAA
split-complementary
#796CCE #CEAA6C #90CE6C
monochromatic
#3D3090 #503FBE #796CCE #A39ADD #CDC8ED

Accessibility & contrast

On white

4.33
#796CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#796CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796CCE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796CCE#FFFFFF#000000##000000
##796CCE1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#467CD2
Deuteranopia (green-blind)
#4477CC
Tritanopia (blue-blind)
#608093
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #796cce;
/* rgb */ color: rgb(121, 108, 206);
/* oklch */ color: oklch(58.9% 0.146 287.1);
Tailwind
colors: {
  custom: {
    50: '#a496dd',
    500: '#796cce',
    950: '#000000',
  },
}
SCSS
$custom: #796cce;
$custom-light: #a496dd;
$custom-dark: #000000;
JSON
{
  "hex": "#796cce",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 206
  },
  "hsl": {
    "h": 247.959,
    "s": 50,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58896,
    "c": 0.14585,
    "h": 287.1
  },
  "luminance": 0.19246
}

Semantic roles & 50–950 ramp

primary
#796CCE
secondary
#D8DDB9
accent
#BD28AA
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #796CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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