#7E87EA#7E87EA

#7E87EA is a light, vivid blue. Relative luminance 0.277; OKLCH L 66.0% C 0.146 H 277.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7E87EA
RGBrgb(126, 135, 234)
HSLhsl(235, 72%, 71%)
HSVhsv(235, 46%, 92%)
CMYKcmyk(46.2%, 42.3%, 0%, 8.2%)
CIE-LABlab(59.62, 22.31, -51.20)
CIE-LCHlch(59.62, 55.85, 293.54°)
OKLaboklab(66.04% 0.0195 -0.1449)
OKLCHoklch(66.04% 0.146 277.7)
XYZxyz(32.1149, 27.7024, 81.4808)
Luminance0.2770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87EA #EAE17E
analogous
#7EBDEA #7E87EA #AB7EEA
triadic
#7E87EA #EA7E87 #87EA7E
tetradic
#7E87EA #EA7EBD #EAE17E #7EEAAB
square
#7E87EA #EA7EBD #EAE17E #7EEAAB
split-complementary
#7E87EA #EAAB7E #BDEA7E
monochromatic
#2130CC #4956E1 #7E87EA #B3B8F3 #E5E7FB

Accessibility & contrast

On white

3.21
#7E87EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#7E87EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87EA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87EA#FFFFFF#000000##000000
##7E87EA1.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EE
Deuteranopia (green-blind)
#588CE8
Tritanopia (blue-blind)
#579CAD
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e87ea;
/* rgb */ color: rgb(126, 135, 234);
/* oklch */ color: oklch(66.0% 0.146 277.7);
Tailwind
colors: {
  custom: {
    50: '#a9a9f1',
    500: '#7e87ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e87ea;
$custom-light: #a9a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87ea",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 235,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.66037,
    "c": 0.14622,
    "h": 277.7
  },
  "luminance": 0.27704
}

Semantic roles & 50–950 ramp

primary
#7E87EA
secondary
#F1EED3
accent
#C411D4
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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