#796DCE#796DCE

#796DCE is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.1% C 0.144 H 286.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#796DCE
RGBrgb(121, 109, 206)
HSLhsl(247, 50%, 62%)
HSVhsv(247, 47%, 81%)
CMYKcmyk(41.3%, 47.1%, 0%, 19.2%)
CIE-LABlab(51.22, 28.44, -48.84)
CIE-LCHlch(51.22, 56.52, 300.21°)
OKLaboklab(59.08% 0.0417 -0.1383)
OKLCHoklch(59.08% 0.144 286.8)
XYZxyz(24.4912, 19.4576, 60.8458)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DCE #C2CE6D
analogous
#6D92CE #796DCE #AA6DCE
triadic
#796DCE #CE796D #6DCE79
tetradic
#796DCE #CE6D92 #C2CE6D #6DCEAA
square
#796DCE #CE6D92 #C2CE6D #6DCEAA
split-complementary
#796DCE #CEAA6D #92CE6D
monochromatic
#3C3090 #4F40BE #796DCE #A39BDD #CDC9ED

Accessibility & contrast

On white

4.29
#796DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#796DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DCE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DCE#FFFFFF#000000##000000
##796DCE1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#477DD2
Deuteranopia (green-blind)
#4677CC
Tritanopia (blue-blind)
#608194
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #796dce;
/* rgb */ color: rgb(121, 109, 206);
/* oklch */ color: oklch(59.1% 0.144 286.8);
Tailwind
colors: {
  custom: {
    50: '#a497dd',
    500: '#796dce',
    950: '#000000',
  },
}
SCSS
$custom: #796dce;
$custom-light: #a497dd;
$custom-dark: #000000;
JSON
{
  "hex": "#796dce",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 206
  },
  "hsl": {
    "h": 247.423,
    "s": 49.744,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59081,
    "c": 0.14439,
    "h": 286.8
  },
  "luminance": 0.19458
}

Semantic roles & 50–950 ramp

primary
#796DCE
secondary
#D9DDB9
accent
#BD28AB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #796DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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