#8A87C8#8A87C8

#8A87C8 is a light, moderate blue. Relative luminance 0.269; OKLCH L 65.2% C 0.096 H 285.5°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8A87C8
RGBrgb(138, 135, 200)
HSLhsl(243, 37%, 66%)
HSVhsv(243, 33%, 78%)
CMYKcmyk(31%, 32.5%, 0%, 21.6%)
CIE-LABlab(58.88, 16.02, -33.27)
CIE-LCHlch(58.88, 36.92, 295.72°)
OKLaboklab(65.16% 0.0257 -0.0926)
OKLCHoklch(65.16% 0.096 285.5)
XYZxyz(29.5678, 26.9006, 58.2669)
Luminance0.2690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87C8 #C5C887
analogous
#87A4C8 #8A87C8 #AA87C8
triadic
#8A87C8 #C88A87 #87C88A
tetradic
#8A87C8 #C887A4 #C5C887 #87C8AA
square
#8A87C8 #C887A4 #C5C887 #87C8AA
split-complementary
#8A87C8 #C8AA87 #A4C887
monochromatic
#464392 #615DB5 #8A87C8 #B3B1DB #DCDBEE

Accessibility & contrast

On white

3.29
#8A87C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#8A87C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87C8
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87C8#FFFFFF#000000##000000
##8A87C81.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7490CB
Deuteranopia (green-blind)
#738CC6
Tritanopia (blue-blind)
#7B939E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a87c8;
/* rgb */ color: rgb(138, 135, 200);
/* oklch */ color: oklch(65.2% 0.096 285.5);
Tailwind
colors: {
  custom: {
    50: '#aea9d9',
    500: '#8a87c8',
    950: '#000000',
  },
}
SCSS
$custom: #8a87c8;
$custom-light: #aea9d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87c8",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 242.769,
    "s": 37.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.65164,
    "c": 0.09606,
    "h": 285.5
  },
  "luminance": 0.26901
}

Semantic roles & 50–950 ramp

primary
#8A87C8
secondary
#DFE0CB
accent
#B035AA
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8A87C8

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

Preview Lab → · Contrast checker → · Palette generator →

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