#796FD0#796FD0

#796FD0 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.6% C 0.144 H 285.8°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#796FD0
RGBrgb(121, 111, 208)
HSLhsl(246, 51%, 63%)
HSVhsv(246, 47%, 82%)
CMYKcmyk(41.8%, 46.6%, 0%, 18.4%)
CIE-LABlab(51.82, 27.81, -49.02)
CIE-LCHlch(51.82, 56.36, 299.57°)
OKLaboklab(59.57% 0.0394 -0.1388)
OKLCHoklch(59.57% 0.144 285.8)
XYZxyz(24.9515, 19.9870, 62.2055)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FD0 #C6D06F
analogous
#6F95D0 #796FD0 #AA6FD0
triadic
#796FD0 #D0796F #6FD079
tetradic
#796FD0 #D06F95 #C6D06F #6FD0AA
square
#796FD0 #D06F95 #C6D06F #6FD0AA
split-complementary
#796FD0 #D0AA6F #95D06F
monochromatic
#3B3094 #4E41C1 #796FD0 #A49DDF #CFCBEE

Accessibility & contrast

On white

4.20
#796FD0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#796FD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FD0
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FD0#FFFFFF#000000##000000
##796FD01.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ED4
Deuteranopia (green-blind)
#4779CE
Tritanopia (blue-blind)
#5F8395
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #796fd0;
/* rgb */ color: rgb(121, 111, 208);
/* oklch */ color: oklch(59.6% 0.144 285.8);
Tailwind
colors: {
  custom: {
    50: '#a498df',
    500: '#796fd0',
    950: '#000000',
  },
}
SCSS
$custom: #796fd0;
$custom-light: #a498df;
$custom-dark: #000000;
JSON
{
  "hex": "#796fd0",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 208
  },
  "hsl": {
    "h": 246.186,
    "s": 50.785,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59573,
    "c": 0.14423,
    "h": 285.8
  },
  "luminance": 0.19988
}

Semantic roles & 50–950 ramp

primary
#796FD0
secondary
#DBDFBC
accent
#BE27AF
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #796FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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