#7E87FE#7E87FE

#7E87FE is a light, vivid blue. Relative luminance 0.289; OKLCH L 67.2% C 0.174 H 277.4°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#7E87FE
RGBrgb(126, 135, 254)
HSLhsl(236, 98%, 75%)
HSVhsv(236, 50%, 100%)
CMYKcmyk(50.4%, 46.9%, 0%, 0.4%)
CIE-LABlab(60.71, 28.26, -60.50)
CIE-LCHlch(60.71, 66.78, 295.04°)
OKLaboklab(67.22% 0.0223 -0.1722)
OKLCHoklch(67.22% 0.174 277.4)
XYZxyz(35.1520, 28.9172, 97.4760)
Luminance0.2892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87FE #FEF57E
analogous
#7EC7FE #7E87FE #B57EFE
triadic
#7E87FE #FE7E87 #87FE7E
tetradic
#7E87FE #FE7EC7 #FEF57E #7EFEB5
square
#7E87FE #FE7EC7 #FEF57E #7EFEB5
split-complementary
#7E87FE #FEB57E #C7FE7E
monochromatic
#0516FD #414FFE #7E87FE #BBBFFE #E1E3FF

Accessibility & contrast

On white

3.10
#7E87FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#7E87FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87FE
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87FE#FFFFFF#000000##000000
##7E87FE1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#458DFB
Tritanopia (blue-blind)
#49A1B6
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e87fe;
/* rgb */ color: rgb(126, 135, 254);
/* oklch */ color: oklch(67.2% 0.174 277.4);
Tailwind
colors: {
  custom: {
    50: '#aba9ff',
    500: '#7e87fe',
    950: '#000000',
  },
}
SCSS
$custom: #7e87fe;
$custom-light: #aba9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87fe",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 235.781,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.67218,
    "c": 0.17362,
    "h": 277.4
  },
  "luminance": 0.28919
}

Semantic roles & 50–950 ramp

primary
#7E87FE
secondary
#F7F5D4
accent
#D500E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #7E87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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