#7E87EE#7E87EE

#7E87EE is a light, vivid blue. Relative luminance 0.279; OKLCH L 66.3% C 0.152 H 277.6°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7E87EE
RGBrgb(126, 135, 238)
HSLhsl(235, 77%, 71%)
HSVhsv(235, 47%, 93%)
CMYKcmyk(47.1%, 43.3%, 0%, 6.7%)
CIE-LABlab(59.83, 23.49, -53.08)
CIE-LCHlch(59.83, 58.05, 293.87°)
OKLaboklab(66.27% 0.0202 -0.1504)
OKLCHoklch(66.27% 0.152 277.6)
XYZxyz(32.6960, 27.9348, 84.5415)
Luminance0.2794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87EE #EEE57E
analogous
#7EBFEE #7E87EE #AD7EEE
triadic
#7E87EE #EE7E87 #87EE7E
tetradic
#7E87EE #EE7EBF #EEE57E #7EEEAD
square
#7E87EE #EE7EBF #EEE57E #7EEEAD
split-complementary
#7E87EE #EEAD7E #BFEE7E
monochromatic
#1C2BD5 #4855E7 #7E87EE #B4B9F5 #E4E6FB

Accessibility & contrast

On white

3.19
#7E87EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#7E87EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87EE
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87EE#FFFFFF#000000##000000
##7E87EE1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F2
Deuteranopia (green-blind)
#558CEC
Tritanopia (blue-blind)
#559DAF
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e87ee;
/* rgb */ color: rgb(126, 135, 238);
/* oklch */ color: oklch(66.3% 0.152 277.6);
Tailwind
colors: {
  custom: {
    50: '#a9a9f4',
    500: '#7e87ee',
    950: '#000000',
  },
}
SCSS
$custom: #7e87ee;
$custom-light: #a9a9f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87ee",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 235.179,
    "s": 76.712,
    "l": 71.373
  },
  "oklch": {
    "l": 0.66267,
    "c": 0.15176,
    "h": 277.6
  },
  "luminance": 0.27937
}

Semantic roles & 50–950 ramp

primary
#7E87EE
secondary
#F2F0D5
accent
#C90DD9
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E87EE

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

Preview Lab → · Contrast checker → · Palette generator →

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