#7C87C8#7C87C8

#7C87C8 is a light, moderate blue. Relative luminance 0.258; OKLCH L 64.1% C 0.098 H 275.9°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7C87C8
RGBrgb(124, 135, 200)
HSLhsl(231, 41%, 64%)
HSVhsv(231, 38%, 78%)
CMYKcmyk(38%, 32.5%, 0%, 21.6%)
CIE-LABlab(57.83, 12.06, -34.99)
CIE-LCHlch(57.83, 37.01, 289.02°)
OKLaboklab(64.09% 0.0101 -0.0978)
OKLCHoklch(64.09% 0.098 275.9)
XYZxyz(27.3984, 25.7820, 58.1652)
Luminance0.2578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C87C8 #C8BD7C
analogous
#7CADC8 #7C87C8 #977CC8
triadic
#7C87C8 #C87C87 #87C87C
tetradic
#7C87C8 #C87CAD #C8BD7C #7CC897
square
#7C87C8 #C87CAD #C8BD7C #7CC897
split-complementary
#7C87C8 #C8977C #ADC87C
monochromatic
#3C488E #5160B6 #7C87C8 #A7AEDA #D2D6EC

Accessibility & contrast

On white

3.41
#7C87C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#7C87C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C87C8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C87C8#FFFFFF#000000##000000
##7C87C81.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ECB
Deuteranopia (green-blind)
#6C88C6
Tritanopia (blue-blind)
#65949E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c87c8;
/* rgb */ color: rgb(124, 135, 200);
/* oklch */ color: oklch(64.1% 0.098 275.9);
Tailwind
colors: {
  custom: {
    50: '#a4a9d9',
    500: '#7c87c8',
    950: '#000000',
  },
}
SCSS
$custom: #7c87c8;
$custom-light: #a4a9d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c87c8",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 231.316,
    "s": 40.86,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64089,
    "c": 0.0983,
    "h": 275.9
  },
  "luminance": 0.25783
}

Semantic roles & 50–950 ramp

primary
#7C87C8
secondary
#DDD9C2
accent
#A132B4
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#0F0F14
muted
#7F7F83

Preview Lab

Preview with #7C87C8

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

Preview Lab → · Contrast checker → · Palette generator →

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