#796ECA#796ECA

#796ECA is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.0% C 0.137 H 286.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#796ECA
RGBrgb(121, 110, 202)
HSLhsl(247, 46%, 61%)
HSVhsv(247, 46%, 79%)
CMYKcmyk(40.1%, 45.5%, 0%, 20.8%)
CIE-LABlab(51.24, 26.70, -46.52)
CIE-LCHlch(51.24, 53.64, 299.86°)
OKLaboklab(59.03% 0.0399 -0.1314)
OKLCHoklch(59.03% 0.137 286.9)
XYZxyz(24.1188, 19.4802, 58.3549)
Luminance0.1948 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796ECA #BFCA6E
analogous
#6E91CA #796ECA #A76ECA
triadic
#796ECA #CA796E #6ECA79
tetradic
#796ECA #CA6E91 #BFCA6E #6ECAA7
square
#796ECA #CA6E91 #BFCA6E #6ECAA7
split-complementary
#796ECA #CAA76E #91CA6E
monochromatic
#3D338B #5143B8 #796ECA #A29BDA #CCC8EB

Accessibility & contrast

On white

4.29
#796ECA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#796ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796ECA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796ECA#FFFFFF#000000##000000
##796ECA1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7CCD
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#628092
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #796eca;
/* rgb */ color: rgb(121, 110, 202);
/* oklch */ color: oklch(59.0% 0.137 286.9);
Tailwind
colors: {
  custom: {
    50: '#a397da',
    500: '#796eca',
    950: '#000000',
  },
}
SCSS
$custom: #796eca;
$custom-light: #a397da;
$custom-dark: #000000;
JSON
{
  "hex": "#796eca",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 247.174,
    "s": 46.465,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59029,
    "c": 0.13736,
    "h": 286.9
  },
  "luminance": 0.19481
}

Semantic roles & 50–950 ramp

primary
#796ECA
secondary
#D7DBB9
accent
#BA2CA9
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #796ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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