#7C87CD#7C87CD

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

Color values

HEX#7C87CD
RGBrgb(124, 135, 205)
HSLhsl(232, 45%, 65%)
HSVhsv(232, 40%, 80%)
CMYKcmyk(39.5%, 34.1%, 0%, 19.6%)
CIE-LABlab(58.06, 13.46, -37.46)
CIE-LCHlch(58.06, 39.80, 289.76°)
OKLaboklab(64.34% 0.0114 -0.1049)
OKLCHoklch(64.34% 0.106 276.2)
XYZxyz(27.9923, 26.0196, 61.2931)
Luminance0.2602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C87CD #CDC27C
analogous
#7CB0CD #7C87CD #9A7CCD
triadic
#7C87CD #CD7C87 #87CD7C
tetradic
#7C87CD #CD7CB0 #CDC27C #7CCD9A
square
#7C87CD #CD7CB0 #CDC27C #7CCD9A
split-complementary
#7C87CD #CD9A7C #B0CD7C
monochromatic
#394696 #505EBC #7C87CD #A8B0DE #D5D8EF

Accessibility & contrast

On white

3.38
#7C87CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#7C87CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7C87CD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C87CD#FFFFFF#000000##000000
##7C87CD1.003.386.206.20
#FFFFFF3.381.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#708FD0
Deuteranopia (green-blind)
#6A89CB
Tritanopia (blue-blind)
#6395A1
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7c87cd;
/* rgb */ color: rgb(124, 135, 205);
/* oklch */ color: oklch(64.3% 0.106 276.2);
Tailwind
colors: {
  custom: {
    50: '#a5a9dc',
    500: '#7c87cd',
    950: '#000000',
  },
}
SCSS
$custom: #7c87cd;
$custom-light: #a5a9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c87cd",
  "rgb": {
    "r": 124,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 231.852,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64338,
    "c": 0.10554,
    "h": 276.2
  },
  "luminance": 0.26021
}

Semantic roles & 50–950 ramp

primary
#7C87CD
secondary
#E0DDC4
accent
#A52EB8
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#0F0F15
muted
#7F7F83

Preview Lab

Preview with #7C87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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