#7E81EA#7E81EA

#7E81EA is a light, vivid blue. Relative luminance 0.261; OKLCH L 64.9% C 0.154 H 279.9°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7E81EA
RGBrgb(126, 129, 234)
HSLhsl(238, 72%, 71%)
HSVhsv(238, 46%, 92%)
CMYKcmyk(46.2%, 44.9%, 0%, 8.2%)
CIE-LABlab(58.11, 25.85, -53.60)
CIE-LCHlch(58.11, 59.51, 295.75°)
OKLaboklab(64.89% 0.0267 -0.152)
OKLCHoklch(64.89% 0.154 279.9)
XYZxyz(31.3012, 26.0751, 81.2096)
Luminance0.2608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E81EA #EAE77E
analogous
#7EB7EA #7E81EA #B17EEA
triadic
#7E81EA #EA7E81 #81EA7E
tetradic
#7E81EA #EA7EB7 #EAE77E #7EEAB1
square
#7E81EA #EA7EB7 #EAE77E #7EEAB1
split-complementary
#7E81EA #EAB17E #B7EA7E
monochromatic
#2126CC #494EE1 #7E81EA #B3B4F3 #E5E5FB

Accessibility & contrast

On white

3.38
#7E81EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#7E81EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E81EA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E81EA#FFFFFF#000000##000000
##7E81EA1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5790EE
Deuteranopia (green-blind)
#4F88E8
Tritanopia (blue-blind)
#5897AA
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e81ea;
/* rgb */ color: rgb(126, 129, 234);
/* oklch */ color: oklch(64.9% 0.154 279.9);
Tailwind
colors: {
  custom: {
    50: '#a9a5f1',
    500: '#7e81ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e81ea;
$custom-light: #a9a5f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e81ea",
  "rgb": {
    "r": 126,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 238.333,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.64888,
    "c": 0.1543,
    "h": 279.9
  },
  "luminance": 0.26077
}

Semantic roles & 50–950 ramp

primary
#7E81EA
secondary
#F1F0D3
accent
#CF11D4
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7E81EA

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

Preview Lab → · Contrast checker → · Palette generator →

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