#7E81EF#7E81EF

#7E81EF is a light, vivid blue. Relative luminance 0.264; OKLCH L 65.2% C 0.161 H 279.8°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7E81EF
RGBrgb(126, 129, 239)
HSLhsl(238, 78%, 72%)
HSVhsv(238, 47%, 94%)
CMYKcmyk(47.3%, 46%, 0%, 6.3%)
CIE-LABlab(58.38, 27.33, -55.94)
CIE-LCHlch(58.38, 62.26, 296.03°)
OKLaboklab(65.19% 0.0273 -0.1588)
OKLCHoklch(65.19% 0.161 279.8)
XYZxyz(32.0297, 26.3664, 85.0461)
Luminance0.2637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E81EF #EFEC7E
analogous
#7EBAEF #7E81EF #B47EEF
triadic
#7E81EF #EF7E81 #81EF7E
tetradic
#7E81EF #EF7EBA #EFEC7E #7EEFB4
square
#7E81EF #EF7EBA #EFEC7E #7EEFB4
split-complementary
#7E81EF #EFB47E #BAEF7E
monochromatic
#1B20D8 #484CE8 #7E81EF #B4B6F6 #E4E4FC

Accessibility & contrast

On white

3.35
#7E81EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#7E81EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E81EF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E81EF#FFFFFF#000000##000000
##7E81EF1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5391F3
Deuteranopia (green-blind)
#4A88ED
Tritanopia (blue-blind)
#5598AC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e81ef;
/* rgb */ color: rgb(126, 129, 239);
/* oklch */ color: oklch(65.2% 0.161 279.8);
Tailwind
colors: {
  custom: {
    50: '#a9a5f5',
    500: '#7e81ef',
    950: '#000000',
  },
}
SCSS
$custom: #7e81ef;
$custom-light: #a9a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7e81ef",
  "rgb": {
    "r": 126,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 238.407,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.65186,
    "c": 0.16117,
    "h": 279.8
  },
  "luminance": 0.26368
}

Semantic roles & 50–950 ramp

primary
#7E81EF
secondary
#F3F2D6
accent
#D50BDA
background
#FAFAFF
surface
#F4F4FE
border
#CECED6
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7E81EF

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

Preview Lab → · Contrast checker → · Palette generator →

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