#7D87D6#7D87D6

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

Color values

HEX#7D87D6
RGBrgb(125, 135, 214)
HSLhsl(233, 52%, 66%)
HSVhsv(233, 42%, 84%)
CMYKcmyk(41.6%, 36.9%, 0%, 16.1%)
CIE-LABlab(58.55, 16.27, -41.74)
CIE-LCHlch(58.55, 44.80, 291.29°)
OKLaboklab(64.87% 0.0146 -0.1173)
OKLCHoklch(64.87% 0.118 277.1)
XYZxyz(29.2554, 26.5416, 67.1868)
Luminance0.2654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87D6 #D6CC7D
analogous
#7DB4D6 #7D87D6 #A07DD6
triadic
#7D87D6 #D67D87 #87D67D
tetradic
#7D87D6 #D67DB4 #D6CC7D #7DD6A0
square
#7D87D6 #D67DB4 #D6CC7D #7DD6A0
split-complementary
#7D87D6 #D6A07D #B4D67D
monochromatic
#3441A5 #4E5CC7 #7D87D6 #ACB2E5 #DADDF3

Accessibility & contrast

On white

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

On black

6.31
#7D87D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87D6
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87D6#FFFFFF#000000##000000
##7D87D61.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C90D9
Deuteranopia (green-blind)
#658AD4
Tritanopia (blue-blind)
#6197A4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7d87d6;
/* rgb */ color: rgb(125, 135, 214);
/* oklch */ color: oklch(64.9% 0.118 277.1);
Tailwind
colors: {
  custom: {
    50: '#a6a9e3',
    500: '#7d87d6',
    950: '#000000',
  },
}
SCSS
$custom: #7d87d6;
$custom-light: #a6a9e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87d6",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 214
  },
  "hsl": {
    "h": 233.258,
    "s": 52.047,
    "l": 66.471
  },
  "oklch": {
    "l": 0.64872,
    "c": 0.11823,
    "h": 277.1
  },
  "luminance": 0.26543
}

Semantic roles & 50–950 ramp

primary
#7D87D6
secondary
#E6E3C9
accent
#AE26BF
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#100F15
muted
#7F7F83

Preview Lab

Preview with #7D87D6

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

Preview Lab → · Contrast checker → · Palette generator →

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