#7E87F7#7E87F7

#7E87F7 is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.8% C 0.164 H 277.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#7E87F7
RGBrgb(126, 135, 247)
HSLhsl(236, 88%, 73%)
HSVhsv(236, 49%, 97%)
CMYKcmyk(49%, 45.3%, 0%, 3.1%)
CIE-LABlab(60.32, 26.16, -57.28)
CIE-LCHlch(60.32, 62.97, 294.55°)
OKLaboklab(66.8% 0.0215 -0.1627)
OKLCHoklch(66.8% 0.164 277.5)
XYZxyz(34.0514, 28.4770, 91.6800)
Luminance0.2848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87F7 #F7EE7E
analogous
#7EC3F7 #7E87F7 #B17EF7
triadic
#7E87F7 #F77E87 #87F77E
tetradic
#7E87F7 #F77EC3 #F7EE7E #7EF7B1
square
#7E87F7 #F77EC3 #F7EE7E #7EF7B1
split-complementary
#7E87F7 #F7B17E #C3F77E
monochromatic
#0F1FEC #4451F3 #7E87F7 #B8BDFB #E2E4FD

Accessibility & contrast

On white

3.14
#7E87F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#7E87F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87F7
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87F7#FFFFFF#000000##000000
##7E87F71.003.146.706.70
#FFFFFF3.141.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#4C8DF5
Tritanopia (blue-blind)
#4E9FB3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7e87f7;
/* rgb */ color: rgb(126, 135, 247);
/* oklch */ color: oklch(66.8% 0.164 277.5);
Tailwind
colors: {
  custom: {
    50: '#aaa9fa',
    500: '#7e87f7',
    950: '#000000',
  },
}
SCSS
$custom: #7e87f7;
$custom-light: #aaa9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87f7",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 235.537,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.66795,
    "c": 0.16412,
    "h": 277.5
  },
  "luminance": 0.28479
}

Semantic roles & 50–950 ramp

primary
#7E87F7
secondary
#F5F3D6
accent
#D401E5
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85

Preview Lab

Preview with #7E87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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