#796DCF#796DCF

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

Color values

HEX#796DCF
RGBrgb(121, 109, 207)
HSLhsl(247, 51%, 62%)
HSVhsv(247, 47%, 81%)
CMYKcmyk(41.5%, 47.3%, 0%, 18.8%)
CIE-LABlab(51.27, 28.72, -49.32)
CIE-LCHlch(51.27, 57.08, 300.21°)
OKLaboklab(59.14% 0.0418 -0.1396)
OKLCHoklch(59.14% 0.146 286.7)
XYZxyz(24.6131, 19.5063, 61.4876)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DCF #C3CF6D
analogous
#6D92CF #796DCF #AA6DCF
triadic
#796DCF #CF796D #6DCF79
tetradic
#796DCF #CF6D92 #C3CF6D #6DCFAA
square
#796DCF #CF6D92 #C3CF6D #6DCFAA
split-complementary
#796DCF #CFAA6D #92CF6D
monochromatic
#3C3092 #4F3FC0 #796DCF #A39BDE #CEC9ED

Accessibility & contrast

On white

4.28
#796DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#796DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DCF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DCF#FFFFFF#000000##000000
##796DCF1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#477DD3
Deuteranopia (green-blind)
#4577CD
Tritanopia (blue-blind)
#608194
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #796dcf;
/* rgb */ color: rgb(121, 109, 207);
/* oklch */ color: oklch(59.1% 0.146 286.7);
Tailwind
colors: {
  custom: {
    50: '#a497de',
    500: '#796dcf',
    950: '#000000',
  },
}
SCSS
$custom: #796dcf;
$custom-light: #a497de;
$custom-dark: #000000;
JSON
{
  "hex": "#796dcf",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 207
  },
  "hsl": {
    "h": 247.347,
    "s": 50.515,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59141,
    "c": 0.14577,
    "h": 286.7
  },
  "luminance": 0.19507
}

Semantic roles & 50–950 ramp

primary
#796DCF
secondary
#DADEBA
accent
#BE28AB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #796DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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