#7E87CD#7E87CD

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

Color values

HEX#7E87CD
RGBrgb(126, 135, 205)
HSLhsl(233, 44%, 65%)
HSVhsv(233, 39%, 80%)
CMYKcmyk(38.5%, 34.1%, 0%, 19.6%)
CIE-LABlab(58.20, 14.00, -37.22)
CIE-LCHlch(58.20, 39.77, 290.61°)
OKLaboklab(64.48% 0.0136 -0.1042)
OKLCHoklch(64.48% 0.105 277.4)
XYZxyz(28.2844, 26.1702, 61.3068)
Luminance0.2617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87CD #CDC47E
analogous
#7EAECD #7E87CD #9D7ECD
triadic
#7E87CD #CD7E87 #87CD7E
tetradic
#7E87CD #CD7EAE #CDC47E #7ECD9D
square
#7E87CD #CD7EAE #CDC47E #7ECD9D
split-complementary
#7E87CD #CD9D7E #AECD7E
monochromatic
#3A4596 #525EBC #7E87CD #AAB0DE #D6D9EF

Accessibility & contrast

On white

3.37
#7E87CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#7E87CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87CD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87CD#FFFFFF#000000##000000
##7E87CD1.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#708FD0
Deuteranopia (green-blind)
#6B89CB
Tritanopia (blue-blind)
#6695A1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e87cd;
/* rgb */ color: rgb(126, 135, 205);
/* oklch */ color: oklch(64.5% 0.105 277.4);
Tailwind
colors: {
  custom: {
    50: '#a6a9dc',
    500: '#7e87cd',
    950: '#000000',
  },
}
SCSS
$custom: #7e87cd;
$custom-light: #a6a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87cd",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 233.165,
    "s": 44.134,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64484,
    "c": 0.10509,
    "h": 277.4
  },
  "luminance": 0.26171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7E87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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