#8A87BF#8A87BF

#8A87BF is a light, moderate blue. Relative luminance 0.265; OKLCH L 64.7% C 0.083 H 286.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8A87BF
RGBrgb(138, 135, 191)
HSLhsl(243, 30%, 64%)
HSVhsv(243, 29%, 75%)
CMYKcmyk(27.7%, 29.3%, 0%, 25.1%)
CIE-LABlab(58.50, 13.72, -28.77)
CIE-LCHlch(58.50, 31.87, 295.50°)
OKLaboklab(64.74% 0.0233 -0.0796)
OKLCHoklch(64.74% 0.083 286.3)
XYZxyz(28.5468, 26.4922, 52.8896)
Luminance0.2649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87BF #BCBF87
analogous
#87A0BF #8A87BF #A687BF
triadic
#8A87BF #BF8A87 #87BF8A
tetradic
#8A87BF #BF87A0 #BCBF87 #87BFA6
square
#8A87BF #BF87A0 #BCBF87 #87BFA6
split-complementary
#8A87BF #BFA687 #A0BF87
monochromatic
#4A4785 #635FAA #8A87BF #B1AFD4 #D8D7EA

Accessibility & contrast

On white

3.33
#8A87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#8A87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87BF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87BF#FFFFFF#000000##000000
##8A87BF1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#788EC1
Deuteranopia (green-blind)
#778BBE
Tritanopia (blue-blind)
#7E919B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a87bf;
/* rgb */ color: rgb(138, 135, 191);
/* oklch */ color: oklch(64.7% 0.083 286.3);
Tailwind
colors: {
  custom: {
    50: '#ada9d2',
    500: '#8a87bf',
    950: '#000000',
  },
}
SCSS
$custom: #8a87bf;
$custom-light: #ada9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87bf",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 243.214,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64745,
    "c": 0.08298,
    "h": 286.3
  },
  "luminance": 0.26493
}

Semantic roles & 50–950 ramp

primary
#8A87BF
secondary
#DADBC7
accent
#A93CA3
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8A87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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