#796FCE#796FCE

#796FCE is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.5% C 0.141 H 286.1°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#796FCE
RGBrgb(121, 111, 206)
HSLhsl(246, 49%, 62%)
HSVhsv(246, 46%, 81%)
CMYKcmyk(41.3%, 46.1%, 0%, 19.2%)
CIE-LABlab(51.71, 27.24, -48.06)
CIE-LCHlch(51.71, 55.24, 299.55°)
OKLaboklab(59.45% 0.0391 -0.1359)
OKLCHoklch(59.45% 0.141 286.1)
XYZxyz(24.7070, 19.8891, 60.9177)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796FCE #C4CE6F
analogous
#6F95CE #796FCE #A96FCE
triadic
#796FCE #CE796F #6FCE79
tetradic
#796FCE #CE6F95 #C4CE6F #6FCEA9
square
#796FCE #CE6F95 #C4CE6F #6FCEA9
split-complementary
#796FCE #CEA96F #95CE6F
monochromatic
#3B3191 #4F41BE #796FCE #A39DDE #CECAED

Accessibility & contrast

On white

4.22
#796FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#796FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796FCE
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796FCE#FFFFFF#000000##000000
##796FCE1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7ED1
Deuteranopia (green-blind)
#4979CC
Tritanopia (blue-blind)
#608295
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #796fce;
/* rgb */ color: rgb(121, 111, 206);
/* oklch */ color: oklch(59.5% 0.141 286.1);
Tailwind
colors: {
  custom: {
    50: '#a498dd',
    500: '#796fce',
    950: '#000000',
  },
}
SCSS
$custom: #796fce;
$custom-light: #a498dd;
$custom-dark: #000000;
JSON
{
  "hex": "#796fce",
  "rgb": {
    "r": 121,
    "g": 111,
    "b": 206
  },
  "hsl": {
    "h": 246.316,
    "s": 49.223,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59453,
    "c": 0.14146,
    "h": 286.1
  },
  "luminance": 0.1989
}

Semantic roles & 50–950 ramp

primary
#796FCE
secondary
#DADEBB
accent
#BD29AD
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #796FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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