#796EE4#796EE4

#796EE4 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.6% C 0.173 H 284.2°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#796EE4
RGBrgb(121, 110, 228)
HSLhsl(246, 69%, 66%)
HSVhsv(246, 52%, 89%)
CMYKcmyk(46.9%, 51.8%, 0%, 10.6%)
CIE-LABlab(52.75, 34.21, -58.84)
CIE-LCHlch(52.75, 68.07, 300.17°)
OKLaboklab(60.65% 0.0424 -0.1676)
OKLCHoklch(60.65% 0.173 284.2)
XYZxyz(27.4605, 20.8170, 75.9549)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#796EE4 #D9E46E
analogous
#6E9EE4 #796EE4 #B46EE4
triadic
#796EE4 #E4796E #6EE479
tetradic
#796EE4 #E46E9E #D9E46E #6EE4B4
square
#796EE4 #E46E9E #D9E46E #6EE4B4
split-complementary
#796EE4 #E4B46E #9EE46E
monochromatic
#3022B6 #493ADA #796EE4 #A9A2EE #D8D5F7

Accessibility & contrast

On white

4.07
#796EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#796EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #796EE4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##796EE4#FFFFFF#000000##000000
##796EE41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3482E8
Deuteranopia (green-blind)
#2E7AE1
Tritanopia (blue-blind)
#54889F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #796ee4;
/* rgb */ color: rgb(121, 110, 228);
/* oklch */ color: oklch(60.6% 0.173 284.2);
Tailwind
colors: {
  custom: {
    50: '#a698ed',
    500: '#796ee4',
    950: '#000000',
  },
}
SCSS
$custom: #796ee4;
$custom-light: #a698ed;
$custom-dark: #000000;
JSON
{
  "hex": "#796ee4",
  "rgb": {
    "r": 121,
    "g": 110,
    "b": 228
  },
  "hsl": {
    "h": 245.593,
    "s": 68.605,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60645,
    "c": 0.17288,
    "h": 284.2
  },
  "luminance": 0.20818
}

Semantic roles & 50–950 ramp

primary
#796EE4
secondary
#E7EAC4
accent
#D115BF
background
#FAF9FE
surface
#F4F2FD
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #796EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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