#8A87C4#8A87C4

#8A87C4 is a light, moderate blue. Relative luminance 0.267; OKLCH L 65.0% C 0.090 H 285.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#8A87C4
RGBrgb(138, 135, 196)
HSLhsl(243, 34%, 65%)
HSVhsv(243, 31%, 77%)
CMYKcmyk(29.6%, 31.1%, 0%, 23.1%)
CIE-LABlab(58.71, 14.99, -31.27)
CIE-LCHlch(58.71, 34.68, 295.61°)
OKLaboklab(64.98% 0.0246 -0.0868)
OKLCHoklch(64.98% 0.09 285.8)
XYZxyz(29.1064, 26.7161, 55.8370)
Luminance0.2672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87C4 #C1C487
analogous
#87A2C4 #8A87C4 #A987C4
triadic
#8A87C4 #C48A87 #87C48A
tetradic
#8A87C4 #C487A2 #C1C487 #87C4A9
square
#8A87C4 #C487A2 #C1C487 #87C4A9
split-complementary
#8A87C4 #C4A987 #A2C487
monochromatic
#48458C #625EB0 #8A87C4 #B2B0D8 #DAD9EC

Accessibility & contrast

On white

3.31
#8A87C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#8A87C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87C4
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87C4#FFFFFF#000000##000000
##8A87C41.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#768FC7
Deuteranopia (green-blind)
#748CC2
Tritanopia (blue-blind)
#7C929D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a87c4;
/* rgb */ color: rgb(138, 135, 196);
/* oklch */ color: oklch(65.0% 0.090 285.8);
Tailwind
colors: {
  custom: {
    50: '#ada9d6',
    500: '#8a87c4',
    950: '#000000',
  },
}
SCSS
$custom: #8a87c4;
$custom-light: #ada9d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87c4",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 196
  },
  "hsl": {
    "h": 242.951,
    "s": 34.078,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64976,
    "c": 0.09027,
    "h": 285.8
  },
  "luminance": 0.26717
}

Semantic roles & 50–950 ramp

primary
#8A87C4
secondary
#DDDEC9
accent
#AD39A7
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8A87C4

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

Preview Lab → · Contrast checker → · Palette generator →

#8A87C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva