#7E87CA#7E87CA

#7E87CA is a light, moderate blue. Relative luminance 0.260; OKLCH L 64.3% C 0.101 H 277.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7E87CA
RGBrgb(126, 135, 202)
HSLhsl(233, 42%, 64%)
HSVhsv(233, 38%, 79%)
CMYKcmyk(37.6%, 33.2%, 0%, 20.8%)
CIE-LABlab(58.06, 13.16, -35.74)
CIE-LCHlch(58.06, 38.09, 290.22°)
OKLaboklab(64.33% 0.0128 -0.0999)
OKLCHoklch(64.33% 0.101 277.3)
XYZxyz(27.9257, 26.0267, 59.4179)
Luminance0.2603 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E87CA #CAC17E
analogous
#7EADCA #7E87CA #9B7ECA
triadic
#7E87CA #CA7E87 #87CA7E
tetradic
#7E87CA #CA7EAD #CAC17E #7ECA9B
square
#7E87CA #CA7EAD #CAC17E #7ECA9B
split-complementary
#7E87CA #CA9B7E #ADCA7E
monochromatic
#3C4692 #535FB8 #7E87CA #A9AFDC #D5D8EE

Accessibility & contrast

On white

3.38
#7E87CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#7E87CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E87CA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E87CA#FFFFFF#000000##000000
##7E87CA1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#718FCD
Deuteranopia (green-blind)
#6C89C8
Tritanopia (blue-blind)
#68949F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #7e87ca;
/* rgb */ color: rgb(126, 135, 202);
/* oklch */ color: oklch(64.3% 0.101 277.3);
Tailwind
colors: {
  custom: {
    50: '#a6a9da',
    500: '#7e87ca',
    950: '#000000',
  },
}
SCSS
$custom: #7e87ca;
$custom-light: #a6a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#7e87ca",
  "rgb": {
    "r": 126,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 232.895,
    "s": 41.758,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64334,
    "c": 0.10075,
    "h": 277.3
  },
  "luminance": 0.26028
}

Semantic roles & 50–950 ramp

primary
#7E87CA
secondary
#DFDCC5
accent
#A531B5
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #7E87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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