#796BCE#796BCE

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

Color values

HEX#796BCE
RGBrgb(121, 107, 206)
HSLhsl(248, 50%, 61%)
HSVhsv(248, 48%, 81%)
CMYKcmyk(41.3%, 48.1%, 0%, 19.2%)
CIE-LABlab(50.73, 29.63, -49.62)
CIE-LCHlch(50.73, 57.80, 300.84°)
OKLaboklab(58.71% 0.0442 -0.1405)
OKLCHoklch(58.71% 0.147 287.5)
XYZxyz(24.2803, 19.0357, 60.7755)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796BCE #C0CE6B
analogous
#6B8FCE #796BCE #AB6BCE
triadic
#796BCE #CE796B #6BCE79
tetradic
#796BCE #CE6B8F #C0CE6B #6BCEAB
square
#796BCE #CE6B8F #C0CE6B #6BCEAB
split-complementary
#796BCE #CEAB6B #8FCE6B
monochromatic
#3D2F8F #513FBD #796BCE #A399DD #CCC7EC

Accessibility & contrast

On white

4.37
#796BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#796BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796BCE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796BCE#FFFFFF#000000##000000
##796BCE1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD2
Deuteranopia (green-blind)
#4376CC
Tritanopia (blue-blind)
#617F93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #796bce;
/* rgb */ color: rgb(121, 107, 206);
/* oklch */ color: oklch(58.7% 0.147 287.5);
Tailwind
colors: {
  custom: {
    50: '#a495dd',
    500: '#796bce',
    950: '#000000',
  },
}
SCSS
$custom: #796bce;
$custom-light: #a495dd;
$custom-dark: #000000;
JSON
{
  "hex": "#796bce",
  "rgb": {
    "r": 121,
    "g": 107,
    "b": 206
  },
  "hsl": {
    "h": 248.485,
    "s": 50.254,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58713,
    "c": 0.14732,
    "h": 287.5
  },
  "luminance": 0.19037
}

Semantic roles & 50–950 ramp

primary
#796BCE
secondary
#D8DDB8
accent
#BE28A8
background
#FAF9FD
surface
#F4F1FB
border
#CECBD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #796BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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