#7E87CE#7E87CE

#7E87CE is a light, moderate blue. Relative luminance 0.262; OKLCH L 64.5% C 0.107 H 277.5°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7E87CE
RGBrgb(126, 135, 206)
HSLhsl(233, 45%, 65%)
HSVhsv(233, 39%, 81%)
CMYKcmyk(38.8%, 34.5%, 0%, 19.2%)
CIE-LABlab(58.24, 14.27, -37.71)
CIE-LCHlch(58.24, 40.33, 290.73°)
OKLaboklab(64.53% 0.0138 -0.1056)
OKLCHoklch(64.53% 0.107 277.5)
XYZxyz(28.4055, 26.2186, 61.9446)
Luminance0.2622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87CE #CEC57E
analogous
#7EAFCE #7E87CE #9D7ECE
triadic
#7E87CE #CE7E87 #87CE7E
tetradic
#7E87CE #CE7EAF #CEC57E #7ECE9D
square
#7E87CE #CE7EAF #CEC57E #7ECE9D
split-complementary
#7E87CE #CE9D7E #AFCE7E
monochromatic
#3A4498 #525EBD #7E87CE #AAB0DF #D7DAF0

Accessibility & contrast

On white

3.36
#7E87CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#7E87CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87CE
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87CE#FFFFFF#000000##000000
##7E87CE1.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8FD1
Deuteranopia (green-blind)
#6A89CC
Tritanopia (blue-blind)
#6695A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e87ce;
/* rgb */ color: rgb(126, 135, 206);
/* oklch */ color: oklch(64.5% 0.107 277.5);
Tailwind
colors: {
  custom: {
    50: '#a6a9dd',
    500: '#7e87ce',
    950: '#000000',
  },
}
SCSS
$custom: #7e87ce;
$custom-light: #a6a9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87ce",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 233.25,
    "s": 44.944,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64534,
    "c": 0.10653,
    "h": 277.5
  },
  "luminance": 0.2622
}

Semantic roles & 50–950 ramp

primary
#7E87CE
secondary
#E1DEC6
accent
#A92DB8
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #7E87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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