#7D87D5#7D87D5

#7D87D5 is a light, moderate blue. Relative luminance 0.265; OKLCH L 64.8% C 0.117 H 277.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7D87D5
RGBrgb(125, 135, 213)
HSLhsl(233, 51%, 66%)
HSVhsv(233, 41%, 84%)
CMYKcmyk(41.3%, 36.6%, 0%, 16.5%)
CIE-LABlab(58.50, 15.98, -41.25)
CIE-LCHlch(58.50, 44.24, 291.18°)
OKLaboklab(64.82% 0.0144 -0.1159)
OKLCHoklch(64.82% 0.117 277.1)
XYZxyz(29.1281, 26.4907, 66.5163)
Luminance0.2649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87D5 #D5CB7D
analogous
#7DB3D5 #7D87D5 #9F7DD5
triadic
#7D87D5 #D57D87 #87D57D
tetradic
#7D87D5 #D57DB3 #D5CB7D #7DD59F
square
#7D87D5 #D57DB3 #D5CB7D #7DD59F
split-complementary
#7D87D5 #D59F7D #B3D57D
monochromatic
#3541A3 #4F5CC6 #7D87D5 #ABB2E4 #DADCF3

Accessibility & contrast

On white

3.33
#7D87D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#7D87D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87D5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87D5#FFFFFF#000000##000000
##7D87D51.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C90D8
Deuteranopia (green-blind)
#6689D3
Tritanopia (blue-blind)
#6197A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7d87d5;
/* rgb */ color: rgb(125, 135, 213);
/* oklch */ color: oklch(64.8% 0.117 277.1);
Tailwind
colors: {
  custom: {
    50: '#a6a9e2',
    500: '#7d87d5',
    950: '#000000',
  },
}
SCSS
$custom: #7d87d5;
$custom-light: #a6a9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87d5",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 233.182,
    "s": 51.163,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6482,
    "c": 0.11681,
    "h": 277.1
  },
  "luminance": 0.26492
}

Semantic roles & 50–950 ramp

primary
#7D87D5
secondary
#E5E2C9
accent
#AD27BF
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #7D87D5

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

Preview Lab → · Contrast checker → · Palette generator →

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