#796EEE#796EEE

#796EEE is a mid, vivid blue. Relative luminance 0.214; OKLCH L 61.3% C 0.186 H 283.3°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#796EEE
RGBrgb(121, 110, 238)
HSLhsl(245, 79%, 68%)
HSVhsv(245, 54%, 93%)
CMYKcmyk(49.2%, 53.8%, 0%, 6.7%)
CIE-LABlab(53.37, 37.16, -63.44)
CIE-LCHlch(53.37, 73.52, 300.36°)
OKLaboklab(61.31% 0.0429 -0.1811)
OKLCHoklch(61.31% 0.186 283.3)
XYZxyz(28.8891, 21.3884, 83.4785)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EEE #E3EE6E
analogous
#6EA3EE #796EEE #B96EEE
triadic
#796EEE #EE796E #6EEE79
tetradic
#796EEE #EE6EA3 #E3EE6E #6EEEB9
square
#796EEE #EE6EA3 #E3EE6E #6EEEB9
split-complementary
#796EEE #EEB96E #A3EE6E
monochromatic
#2718CA #4637E8 #796EEE #ACA5F4 #DEDCFB

Accessibility & contrast

On white

3.98
#796EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#796EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EEE
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EEE#FFFFFF#000000##000000
##796EEE1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2584F2
Deuteranopia (green-blind)
#197BEB
Tritanopia (blue-blind)
#4E8BA3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #796eee;
/* rgb */ color: rgb(121, 110, 238);
/* oklch */ color: oklch(61.3% 0.186 283.3);
Tailwind
colors: {
  custom: {
    50: '#a798f4',
    500: '#796eee',
    950: '#000000',
  },
}
SCSS
$custom: #796eee;
$custom-light: #a798f4;
$custom-dark: #000000;
JSON
{
  "hex": "#796eee",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 238
  },
  "hsl": {
    "h": 245.156,
    "s": 79.012,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61309,
    "c": 0.18613,
    "h": 283.3
  },
  "luminance": 0.2139
}

Semantic roles & 50–950 ramp

primary
#796EEE
secondary
#ECEFC8
accent
#DB0AC9
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #796EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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