#7E87F6#7E87F6

#7E87F6 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.7% C 0.163 H 277.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7E87F6
RGBrgb(126, 135, 246)
HSLhsl(236, 87%, 73%)
HSVhsv(236, 49%, 96%)
CMYKcmyk(48.8%, 45.1%, 0%, 3.5%)
CIE-LABlab(60.26, 25.86, -56.81)
CIE-LCHlch(60.26, 62.42, 294.48°)
OKLaboklab(66.74% 0.0213 -0.1614)
OKLCHoklch(66.74% 0.163 277.5)
XYZxyz(33.8975, 28.4154, 90.8695)
Luminance0.2842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87F6 #F6ED7E
analogous
#7EC3F6 #7E87F6 #B17EF6
triadic
#7E87F6 #F67E87 #87F67E
tetradic
#7E87F6 #F67EC3 #F6ED7E #7EF6B1
square
#7E87F6 #F67EC3 #F6ED7E #7EF6B1
split-complementary
#7E87F6 #F6B17E #C3F67E
monochromatic
#1021E9 #4552F2 #7E87F6 #B7BCFA #E2E4FD

Accessibility & contrast

On white

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

On black

6.68
#7E87F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87F6
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87F6#FFFFFF#000000##000000
##7E87F61.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#4D8DF4
Tritanopia (blue-blind)
#4F9FB3
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7e87f6;
/* rgb */ color: rgb(126, 135, 246);
/* oklch */ color: oklch(66.7% 0.163 277.5);
Tailwind
colors: {
  custom: {
    50: '#aaa9fa',
    500: '#7e87f6',
    950: '#000000',
  },
}
SCSS
$custom: #7e87f6;
$custom-light: #aaa9fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87f6",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 235.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.66736,
    "c": 0.16276,
    "h": 277.5
  },
  "luminance": 0.28417
}

Semantic roles & 50–950 ramp

primary
#7E87F6
secondary
#F5F3D6
accent
#D302E4
background
#FAFAFF
surface
#F5F4FF
border
#CFCED7
text
#101017
muted
#7F7F85

Preview Lab

Preview with #7E87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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