#7D87CA#7D87CA

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

Color values

HEX#7D87CA
RGBrgb(125, 135, 202)
HSLhsl(232, 42%, 64%)
HSVhsv(232, 38%, 79%)
CMYKcmyk(38.1%, 33.2%, 0%, 20.8%)
CIE-LABlab(57.99, 12.89, -35.86)
CIE-LCHlch(57.99, 38.11, 289.77°)
OKLaboklab(64.26% 0.0117 -0.1003)
OKLCHoklch(64.26% 0.101 276.7)
XYZxyz(27.7790, 25.9510, 59.4110)
Luminance0.2595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D87CA #CAC07D
analogous
#7DAECA #7D87CA #9A7DCA
triadic
#7D87CA #CA7D87 #87CA7D
tetradic
#7D87CA #CA7DAE #CAC07D #7DCA9A
square
#7D87CA #CA7DAE #CAC07D #7DCA9A
split-complementary
#7D87CA #CA9A7D #AECA7D
monochromatic
#3B4691 #525FB8 #7D87CA #A8AFDC #D4D7ED

Accessibility & contrast

On white

3.39
#7D87CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#7D87CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D87CA
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D87CA#FFFFFF#000000##000000
##7D87CA1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#718ECD
Deuteranopia (green-blind)
#6C89C8
Tritanopia (blue-blind)
#66949F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d87ca;
/* rgb */ color: rgb(125, 135, 202);
/* oklch */ color: oklch(64.3% 0.101 276.7);
Tailwind
colors: {
  custom: {
    50: '#a5a9da',
    500: '#7d87ca',
    950: '#000000',
  },
}
SCSS
$custom: #7d87ca;
$custom-light: #a5a9da;
$custom-dark: #000000;
JSON
{
  "hex": "#7d87ca",
  "rgb": {
    "r": 125,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 232.208,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64261,
    "c": 0.10096,
    "h": 276.7
  },
  "luminance": 0.25952
}

Semantic roles & 50–950 ramp

primary
#7D87CA
secondary
#DFDBC4
accent
#A430B5
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7D87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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