#796ECE#796ECE

#796ECE is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.3% C 0.143 H 286.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#796ECE
RGBrgb(121, 110, 206)
HSLhsl(247, 49%, 62%)
HSVhsv(247, 47%, 81%)
CMYKcmyk(41.3%, 46.6%, 0%, 19.2%)
CIE-LABlab(51.46, 27.84, -48.45)
CIE-LCHlch(51.46, 55.88, 299.88°)
OKLaboklab(59.27% 0.0404 -0.1371)
OKLCHoklch(59.27% 0.143 286.4)
XYZxyz(24.5985, 19.6721, 60.8816)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796ECE #C3CE6E
analogous
#6E93CE #796ECE #A96ECE
triadic
#796ECE #CE796E #6ECE79
tetradic
#796ECE #CE6E93 #C3CE6E #6ECEA9
square
#796ECE #CE6E93 #C3CE6E #6ECEA9
split-complementary
#796ECE #CEA96E #93CE6E
monochromatic
#3C3191 #4F40BE #796ECE #A39CDD #CEC9ED

Accessibility & contrast

On white

4.26
#796ECE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#796ECE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796ECE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796ECE#FFFFFF#000000##000000
##796ECE1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD2
Deuteranopia (green-blind)
#4778CC
Tritanopia (blue-blind)
#608194
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #796ece;
/* rgb */ color: rgb(121, 110, 206);
/* oklch */ color: oklch(59.3% 0.143 286.4);
Tailwind
colors: {
  custom: {
    50: '#a497dd',
    500: '#796ece',
    950: '#000000',
  },
}
SCSS
$custom: #796ece;
$custom-light: #a497dd;
$custom-dark: #000000;
JSON
{
  "hex": "#796ece",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 206
  },
  "hsl": {
    "h": 246.875,
    "s": 49.485,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59267,
    "c": 0.14292,
    "h": 286.4
  },
  "luminance": 0.19673
}

Semantic roles & 50–950 ramp

primary
#796ECE
secondary
#DADEBA
accent
#BD29AC
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #796ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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