#7E8AEB#7E8AEB

#7E8AEB is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.7% C 0.144 H 276.4°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7E8AEB
RGBrgb(126, 138, 235)
HSLhsl(233, 73%, 71%)
HSVhsv(233, 46%, 92%)
CMYKcmyk(46.4%, 41.3%, 0%, 7.8%)
CIE-LABlab(60.44, 20.83, -50.46)
CIE-LCHlch(60.44, 54.59, 292.43°)
OKLaboklab(66.68% 0.0161 -0.1427)
OKLCHoklch(66.68% 0.144 276.4)
XYZxyz(32.6834, 28.6090, 82.3811)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8AEB #EBDF7E
analogous
#7EC1EB #7E8AEB #A87EEB
triadic
#7E8AEB #EB7E8A #8AEB7E
tetradic
#7E8AEB #EB7EC1 #EBDF7E #7EEBA8
square
#7E8AEB #EB7EC1 #EBDF7E #7EEBA8
split-complementary
#7E8AEB #EBA87E #C1EB7E
monochromatic
#2033CF #495AE3 #7E8AEB #B3BAF3 #E5E7FB

Accessibility & contrast

On white

3.12
#7E8AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#7E8AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8AEB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8AEB#FFFFFF#000000##000000
##7E8AEB1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596EF
Deuteranopia (green-blind)
#5C8EE9
Tritanopia (blue-blind)
#569EAF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e8aeb;
/* rgb */ color: rgb(126, 138, 235);
/* oklch */ color: oklch(66.7% 0.144 276.4);
Tailwind
colors: {
  custom: {
    50: '#a9acf2',
    500: '#7e8aeb',
    950: '#000000',
  },
}
SCSS
$custom: #7e8aeb;
$custom-light: #a9acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8aeb",
  "rgb": {
    "r": 126,
    "g": 138,
    "b": 235
  },
  "hsl": {
    "h": 233.394,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.66677,
    "c": 0.14364,
    "h": 276.4
  },
  "luminance": 0.28611
}

Semantic roles & 50–950 ramp

primary
#7E8AEB
secondary
#F1EED4
accent
#C010D5
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E8AEB

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

Preview Lab → · Contrast checker → · Palette generator →

#7E8AEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva