#7B87C8#7B87C8

#7B87C8 is a light, moderate blue. Relative luminance 0.257; OKLCH L 64.0% C 0.099 H 275.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7B87C8
RGBrgb(123, 135, 200)
HSLhsl(231, 41%, 63%)
HSVhsv(231, 39%, 78%)
CMYKcmyk(38.5%, 32.5%, 0%, 21.6%)
CIE-LABlab(57.76, 11.79, -35.10)
CIE-LCHlch(57.76, 37.03, 288.56°)
OKLaboklab(64.02% 0.0091 -0.0981)
OKLCHoklch(64.02% 0.099 275.3)
XYZxyz(27.2546, 25.7079, 58.1584)
Luminance0.2571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B87C8 #C8BC7B
analogous
#7BADC8 #7B87C8 #957BC8
triadic
#7B87C8 #C87B87 #87C87B
tetradic
#7B87C8 #C87BAD #C8BC7B #7BC895
square
#7B87C8 #C87BAD #C8BC7B #7BC895
split-complementary
#7B87C8 #C8957B #ADC87B
monochromatic
#3B488E #5060B6 #7B87C8 #A6AEDA #D1D6EC

Accessibility & contrast

On white

3.42
#7B87C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#7B87C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7B87C8
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B87C8#FFFFFF#000000##000000
##7B87C81.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b87c8;
/* rgb */ color: rgb(123, 135, 200);
/* oklch */ color: oklch(64.0% 0.099 275.3);
Tailwind
colors: {
  custom: {
    50: '#a4a9d9',
    500: '#7b87c8',
    950: '#000000',
  },
}
SCSS
$custom: #7b87c8;
$custom-light: #a4a9d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b87c8",
  "rgb": {
    "r": 123,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 230.649,
    "s": 41.176,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64016,
    "c": 0.09855,
    "h": 275.3
  },
  "luminance": 0.25709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B87C8

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

Preview Lab → · Contrast checker → · Palette generator →

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