#796EEC#796EEC

#796EEC is a mid, vivid blue. Relative luminance 0.213; OKLCH L 61.2% C 0.183 H 283.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#796EEC
RGBrgb(121, 110, 236)
HSLhsl(245, 77%, 68%)
HSVhsv(245, 53%, 93%)
CMYKcmyk(48.7%, 53.4%, 0%, 7.5%)
CIE-LABlab(53.25, 36.57, -62.53)
CIE-LCHlch(53.25, 72.44, 300.32°)
OKLaboklab(61.18% 0.0428 -0.1784)
OKLCHoklch(61.18% 0.184 283.5)
XYZxyz(28.5969, 21.2715, 81.9396)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EEC #E1EC6E
analogous
#6EA2EC #796EEC #B86EEC
triadic
#796EEC #EC796E #6EEC79
tetradic
#796EEC #EC6EA2 #E1EC6E #6EECB8
square
#796EEC #EC6EA2 #E1EC6E #6EECB8
split-complementary
#796EEC #ECB86E #A2EC6E
monochromatic
#291AC6 #4738E5 #796EEC #ABA4F3 #DDDAFA

Accessibility & contrast

On white

4.00
#796EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#796EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EEC
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EEC#FFFFFF#000000##000000
##796EEC1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2883F0
Deuteranopia (green-blind)
#1E7BE9
Tritanopia (blue-blind)
#4F8AA2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796eec;
/* rgb */ color: rgb(121, 110, 236);
/* oklch */ color: oklch(61.2% 0.183 283.5);
Tailwind
colors: {
  custom: {
    50: '#a798f3',
    500: '#796eec',
    950: '#000000',
  },
}
SCSS
$custom: #796eec;
$custom-light: #a798f3;
$custom-dark: #000000;
JSON
{
  "hex": "#796eec",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 236
  },
  "hsl": {
    "h": 245.238,
    "s": 76.829,
    "l": 67.843
  },
  "oklch": {
    "l": 0.61175,
    "c": 0.1835,
    "h": 283.5
  },
  "luminance": 0.21273
}

Semantic roles & 50–950 ramp

primary
#796EEC
secondary
#EBEEC7
accent
#D90CC7
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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