#7D87EA#7D87EA

#7D87EA is a light, vivid blue. Relative luminance 0.276; OKLCH L 66.0% C 0.146 H 277.2°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#7D87EA
RGBrgb(125, 135, 234)
HSLhsl(234, 72%, 70%)
HSVhsv(234, 47%, 92%)
CMYKcmyk(46.6%, 42.3%, 0%, 8.2%)
CIE-LABlab(59.55, 22.07, -51.31)
CIE-LCHlch(59.55, 55.86, 293.28°)
OKLaboklab(65.97% 0.0184 -0.1453)
OKLCHoklch(65.97% 0.146 277.2)
XYZxyz(31.9681, 27.6267, 81.4740)
Luminance0.2763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87EA #EAE07D
analogous
#7DBEEA #7D87EA #A97DEA
triadic
#7D87EA #EA7D87 #87EA7D
tetradic
#7D87EA #EA7DBE #EAE07D #7DEAA9
square
#7D87EA #EA7DBE #EAE07D #7DEAA9
split-complementary
#7D87EA #EAA97D #BEEA7D
monochromatic
#2131CC #4856E1 #7D87EA #B2B8F3 #E5E7FB

Accessibility & contrast

On white

3.22
#7D87EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#7D87EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87EA
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87EA#FFFFFF#000000##000000
##7D87EA1.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6094EE
Deuteranopia (green-blind)
#578BE8
Tritanopia (blue-blind)
#559CAD
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d87ea;
/* rgb */ color: rgb(125, 135, 234);
/* oklch */ color: oklch(66.0% 0.146 277.2);
Tailwind
colors: {
  custom: {
    50: '#a8a9f1',
    500: '#7d87ea',
    950: '#000000',
  },
}
SCSS
$custom: #7d87ea;
$custom-light: #a8a9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87ea",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 234
  },
  "hsl": {
    "h": 234.495,
    "s": 72.185,
    "l": 70.392
  },
  "oklch": {
    "l": 0.65967,
    "c": 0.14644,
    "h": 277.2
  },
  "luminance": 0.27628
}

Semantic roles & 50–950 ramp

primary
#7D87EA
secondary
#F0EED2
accent
#C211D4
background
#FAFAFE
surface
#F4F4FD
border
#CECED5
text
#100F17
muted
#7F7F85

Preview Lab

Preview with #7D87EA

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

Preview Lab → · Contrast checker → · Palette generator →

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