#796DC0#796DC0

#796DC0 is a mid, vivid blue. Relative luminance 0.188; OKLCH L 58.3% C 0.125 H 288.5°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#796DC0
RGBrgb(121, 109, 192)
HSLhsl(249, 40%, 59%)
HSVhsv(249, 43%, 75%)
CMYKcmyk(37%, 43.2%, 0%, 24.7%)
CIE-LABlab(50.46, 24.50, -42.03)
CIE-LCHlch(50.46, 48.65, 300.24°)
OKLaboklab(58.26% 0.0397 -0.1183)
OKLCHoklch(58.26% 0.125 288.5)
XYZxyz(22.8656, 18.8073, 52.2844)
Luminance0.1881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796DC0 #B4C06D
analogous
#6D8BC0 #796DC0 #A36DC0
triadic
#796DC0 #C0796D #6DC079
tetradic
#796DC0 #C06D8B #B4C06D #6DC0A3
square
#796DC0 #C06D8B #B4C06D #6DC0A3
split-complementary
#796DC0 #C0A36D #8BC06D
monochromatic
#40367D #5648A8 #796DC0 #A098D2 #C7C3E5

Accessibility & contrast

On white

4.41
#796DC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#796DC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796DC0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796DC0#FFFFFF#000000##000000
##796DC01.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#517AC3
Deuteranopia (green-blind)
#5176BE
Tritanopia (blue-blind)
#667D8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #796dc0;
/* rgb */ color: rgb(121, 109, 192);
/* oklch */ color: oklch(58.3% 0.125 288.5);
Tailwind
colors: {
  custom: {
    50: '#a397d3',
    500: '#796dc0',
    950: '#000000',
  },
}
SCSS
$custom: #796dc0;
$custom-light: #a397d3;
$custom-dark: #000000;
JSON
{
  "hex": "#796dc0",
  "rgb": {
    "r": 121,
    "g": 109,
    "b": 192
  },
  "hsl": {
    "h": 248.675,
    "s": 39.713,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58263,
    "c": 0.1248,
    "h": 288.5
  },
  "luminance": 0.18808
}

Semantic roles & 50–950 ramp

primary
#796DC0
secondary
#D0D5B4
accent
#D058BE
background
#FAF9FD
surface
#F4F2FA
border
#CECCD3
text
#0F0D14
muted
#7F7E83

Preview Lab

Preview with #796DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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