#7E87F8#7E87F8

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

Color values

HEX#7E87F8
RGBrgb(126, 135, 248)
HSLhsl(236, 90%, 73%)
HSVhsv(236, 49%, 97%)
CMYKcmyk(49.2%, 45.6%, 0%, 2.7%)
CIE-LABlab(60.37, 26.46, -57.74)
CIE-LCHlch(60.37, 63.51, 294.62°)
OKLaboklab(66.86% 0.0216 -0.1641)
OKLCHoklch(66.86% 0.165 277.5)
XYZxyz(34.2062, 28.5389, 92.4949)
Luminance0.2854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87F8 #F8EF7E
analogous
#7EC4F8 #7E87F8 #B27EF8
triadic
#7E87F8 #F87E87 #87F87E
tetradic
#7E87F8 #F87EC4 #F8EF7E #7EF8B2
square
#7E87F8 #F87EC4 #F8EF7E #7EF8B2
split-complementary
#7E87F8 #F8B27E #C4F87E
monochromatic
#0D1EEF #4451F5 #7E87F8 #B8BDFB #E2E4FD

Accessibility & contrast

On white

3.13
#7E87F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#7E87F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87F8
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87F8#FFFFFF#000000##000000
##7E87F81.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FC
Deuteranopia (green-blind)
#4B8DF6
Tritanopia (blue-blind)
#4E9FB4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e87f8;
/* rgb */ color: rgb(126, 135, 248);
/* oklch */ color: oklch(66.9% 0.165 277.5);
Tailwind
colors: {
  custom: {
    50: '#aaa9fb',
    500: '#7e87f8',
    950: '#000000',
  },
}
SCSS
$custom: #7e87f8;
$custom-light: #aaa9fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87f8",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 235.574,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.66855,
    "c": 0.16548,
    "h": 277.5
  },
  "luminance": 0.28541
}

Semantic roles & 50–950 ramp

primary
#7E87F8
secondary
#F6F3D5
accent
#D500E6
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#111017
muted
#807F85

Preview Lab

Preview with #7E87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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