#796BCD#796BCD

#796BCD is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.7% C 0.146 H 287.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#796BCD
RGBrgb(121, 107, 205)
HSLhsl(249, 49%, 61%)
HSVhsv(249, 48%, 80%)
CMYKcmyk(41%, 47.8%, 0%, 19.6%)
CIE-LABlab(50.67, 29.35, -49.14)
CIE-LCHlch(50.67, 57.24, 300.84°)
OKLaboklab(58.65% 0.0441 -0.1391)
OKLCHoklch(58.65% 0.146 287.6)
XYZxyz(24.1592, 18.9873, 60.1378)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796BCD #BFCD6B
analogous
#6B8ECD #796BCD #AA6BCD
triadic
#796BCD #CD796B #6BCD79
tetradic
#796BCD #CD6B8E #BFCD6B #6BCDAA
square
#796BCD #CD6B8E #BFCD6B #6BCDAA
split-complementary
#796BCD #CDAA6B #8ECD6B
monochromatic
#3D308E #513FBB #796BCD #A299DC #CCC6EC

Accessibility & contrast

On white

4.38
#796BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#796BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796BCD
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796BCD#FFFFFF#000000##000000
##796BCD1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD1
Deuteranopia (green-blind)
#4476CB
Tritanopia (blue-blind)
#617F92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #796bcd;
/* rgb */ color: rgb(121, 107, 205);
/* oklch */ color: oklch(58.7% 0.146 287.6);
Tailwind
colors: {
  custom: {
    50: '#a495dd',
    500: '#796bcd',
    950: '#000000',
  },
}
SCSS
$custom: #796bcd;
$custom-light: #a495dd;
$custom-dark: #000000;
JSON
{
  "hex": "#796bcd",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 205
  },
  "hsl": {
    "h": 248.571,
    "s": 49.495,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58652,
    "c": 0.14594,
    "h": 287.6
  },
  "luminance": 0.18988
}

Semantic roles & 50–950 ramp

primary
#796BCD
secondary
#D7DCB8
accent
#BD29A8
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #796BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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