#7E87F9#7E87F9

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

Color values

HEX#7E87F9
RGBrgb(126, 135, 249)
HSLhsl(236, 91%, 74%)
HSVhsv(236, 49%, 98%)
CMYKcmyk(49.4%, 45.8%, 0%, 2.4%)
CIE-LABlab(60.43, 26.76, -58.20)
CIE-LCHlch(60.43, 64.06, 294.69°)
OKLaboklab(66.92% 0.0217 -0.1654)
OKLCHoklch(66.92% 0.167 277.5)
XYZxyz(34.3617, 28.6011, 93.3141)
Luminance0.2860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87F9 #F9F07E
analogous
#7EC4F9 #7E87F9 #B27EF9
triadic
#7E87F9 #F97E87 #87F97E
tetradic
#7E87F9 #F97EC4 #F9F07E #7EF9B2
square
#7E87F9 #F97EC4 #F9F07E #7EF9B2
split-complementary
#7E87F9 #F9B27E #C4F97E
monochromatic
#0B1CF1 #4451F6 #7E87F9 #B8BDFC #E2E4FE

Accessibility & contrast

On white

3.12
#7E87F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#7E87F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87F9
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87F9#FFFFFF#000000##000000
##7E87F91.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FD
Deuteranopia (green-blind)
#4A8DF6
Tritanopia (blue-blind)
#4D9FB4
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e87f9;
/* rgb */ color: rgb(126, 135, 249);
/* oklch */ color: oklch(66.9% 0.167 277.5);
Tailwind
colors: {
  custom: {
    50: '#aaa9fc',
    500: '#7e87f9',
    950: '#000000',
  },
}
SCSS
$custom: #7e87f9;
$custom-light: #aaa9fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87f9",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 235.61,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.66915,
    "c": 0.16685,
    "h": 277.5
  },
  "luminance": 0.28603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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