#796ECD#796ECD

#796ECD is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.2% C 0.142 H 286.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#796ECD
RGBrgb(121, 110, 205)
HSLhsl(247, 49%, 62%)
HSVhsv(247, 46%, 80%)
CMYKcmyk(41%, 46.3%, 0%, 19.6%)
CIE-LABlab(51.41, 27.55, -47.97)
CIE-LCHlch(51.41, 55.32, 299.88°)
OKLaboklab(59.21% 0.0403 -0.1357)
OKLCHoklch(59.21% 0.142 286.5)
XYZxyz(24.4774, 19.6237, 60.2438)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796ECD #C2CD6E
analogous
#6E93CD #796ECD #A96ECD
triadic
#796ECD #CD796E #6ECD79
tetradic
#796ECD #CD6E93 #C2CD6E #6ECDA9
square
#796ECD #CD6E93 #C2CD6E #6ECDA9
split-complementary
#796ECD #CDA96E #93CD6E
monochromatic
#3C318F #4F41BD #796ECD #A39CDD #CDC9EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##796ECD#FFFFFF#000000##000000
##796ECD1.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)
#4A7DD0
Deuteranopia (green-blind)
#4878CB
Tritanopia (blue-blind)
#618194
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #796ecd;
/* rgb */ color: rgb(121, 110, 205);
/* oklch */ color: oklch(59.2% 0.142 286.5);
Tailwind
colors: {
  custom: {
    50: '#a497dd',
    500: '#796ecd',
    950: '#000000',
  },
}
SCSS
$custom: #796ecd;
$custom-light: #a497dd;
$custom-dark: #000000;
JSON
{
  "hex": "#796ecd",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 205
  },
  "hsl": {
    "h": 246.947,
    "s": 48.718,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59207,
    "c": 0.14153,
    "h": 286.5
  },
  "luminance": 0.19625
}

Semantic roles & 50–950 ramp

primary
#796ECD
secondary
#D9DDBA
accent
#BC29AB
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #796ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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