#7E87FF#7E87FF

#7E87FF is a light, vivid blue. Relative luminance 0.290; OKLCH L 67.3% C 0.175 H 277.4°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#7E87FF
RGBrgb(126, 135, 255)
HSLhsl(236, 100%, 75%)
HSVhsv(236, 51%, 100%)
CMYKcmyk(50.6%, 47.1%, 0%, 0%)
CIE-LABlab(60.77, 28.56, -60.96)
CIE-LCHlch(60.77, 67.32, 295.10°)
OKLaboklab(67.28% 0.0224 -0.1735)
OKLCHoklch(67.28% 0.175 277.4)
XYZxyz(35.3125, 28.9814, 98.3216)
Luminance0.2898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87FF #FFF67E
analogous
#7EC8FF #7E87FF #B67EFF
triadic
#7E87FF #FF7E87 #87FF7E
tetradic
#7E87FF #FF7EC8 #FFF67E #7EFFB6
square
#7E87FF #FF7EC8 #FFF67E #7EFFB6
split-complementary
#7E87FF #FFB67E #C8FF7E
monochromatic
#0415FF #414EFF #7E87FF #BBC0FF #E0E3FF

Accessibility & contrast

On white

3.09
#7E87FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#7E87FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87FF
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87FF#FFFFFF#000000##000000
##7E87FF1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#448EFC
Tritanopia (blue-blind)
#48A1B7
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e87ff;
/* rgb */ color: rgb(126, 135, 255);
/* oklch */ color: oklch(67.3% 0.175 277.4);
Tailwind
colors: {
  custom: {
    50: '#aba9ff',
    500: '#7e87ff',
    950: '#000000',
  },
}
SCSS
$custom: #7e87ff;
$custom-light: #aba9ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87ff",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 235.814,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.6728,
    "c": 0.17496,
    "h": 277.4
  },
  "luminance": 0.28984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E87FF

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

Preview Lab → · Contrast checker → · Palette generator →

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