#796CD0#796CD0

#796CD0 is a mid, vivid blue. Relative luminance 0.193; OKLCH L 59.0% C 0.149 H 286.9°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#796CD0
RGBrgb(121, 108, 208)
HSLhsl(248, 52%, 62%)
HSVhsv(248, 48%, 82%)
CMYKcmyk(41.8%, 48.1%, 0%, 18.4%)
CIE-LABlab(51.09, 29.60, -50.19)
CIE-LCHlch(51.09, 58.27, 300.53°)
OKLaboklab(59.02% 0.0432 -0.1422)
OKLCHoklch(59.02% 0.149 286.9)
XYZxyz(24.6297, 19.3432, 62.0982)
Luminance0.1934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796CD0 #C3D06C
analogous
#6C91D0 #796CD0 #AB6CD0
triadic
#796CD0 #D0796C #6CD079
tetradic
#796CD0 #D06C91 #C3D06C #6CD0AB
square
#796CD0 #D06C91 #C3D06C #6CD0AB
split-complementary
#796CD0 #D0AB6C #91D06C
monochromatic
#3C2F93 #4F3EC1 #796CD0 #A39ADF #CEC9EE

Accessibility & contrast

On white

4.31
#796CD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#796CD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796CD0
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796CD0#FFFFFF#000000##000000
##796CD01.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#447CD4
Deuteranopia (green-blind)
#4377CE
Tritanopia (blue-blind)
#608194
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #796cd0;
/* rgb */ color: rgb(121, 108, 208);
/* oklch */ color: oklch(59.0% 0.149 286.9);
Tailwind
colors: {
  custom: {
    50: '#a496df',
    500: '#796cd0',
    950: '#000000',
  },
}
SCSS
$custom: #796cd0;
$custom-light: #a496df;
$custom-dark: #000000;
JSON
{
  "hex": "#796cd0",
  "rgb": {
    "r": 121,
    "g": 108,
    "b": 208
  },
  "hsl": {
    "h": 247.8,
    "s": 51.546,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59018,
    "c": 0.14861,
    "h": 286.9
  },
  "luminance": 0.19344
}

Semantic roles & 50–950 ramp

primary
#796CD0
secondary
#DADEB9
accent
#BF27AB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #796CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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