#8A87BE#8A87BE

#8A87BE is a light, moderate blue. Relative luminance 0.264; OKLCH L 64.7% C 0.082 H 286.4°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#8A87BE
RGBrgb(138, 135, 190)
HSLhsl(243, 30%, 64%)
HSVhsv(243, 29%, 75%)
CMYKcmyk(27.4%, 28.9%, 0%, 25.5%)
CIE-LABlab(58.46, 13.47, -28.26)
CIE-LCHlch(58.46, 31.31, 295.48°)
OKLaboklab(64.7% 0.023 -0.0782)
OKLCHoklch(64.7% 0.082 286.4)
XYZxyz(28.4371, 26.4483, 52.3120)
Luminance0.2645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87BE #BBBE87
analogous
#879FBE #8A87BE #A587BE
triadic
#8A87BE #BE8A87 #87BE8A
tetradic
#8A87BE #BE879F #BBBE87 #87BEA5
square
#8A87BE #BE879F #BBBE87 #87BEA5
split-complementary
#8A87BE #BEA587 #9FBE87
monochromatic
#4A4783 #635FA8 #8A87BE #B1AFD4 #D7D6E9

Accessibility & contrast

On white

3.34
#8A87BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#8A87BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87BE
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87BE#FFFFFF#000000##000000
##8A87BE1.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#788EC0
Deuteranopia (green-blind)
#778BBD
Tritanopia (blue-blind)
#7E919A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a87be;
/* rgb */ color: rgb(138, 135, 190);
/* oklch */ color: oklch(64.7% 0.082 286.4);
Tailwind
colors: {
  custom: {
    50: '#ada9d1',
    500: '#8a87be',
    950: '#000000',
  },
}
SCSS
$custom: #8a87be;
$custom-light: #ada9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87be",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 190
  },
  "hsl": {
    "h": 243.273,
    "s": 29.73,
    "l": 63.725
  },
  "oklch": {
    "l": 0.647,
    "c": 0.08152,
    "h": 286.4
  },
  "luminance": 0.26449
}

Semantic roles & 50–950 ramp

primary
#8A87BE
secondary
#D9DAC7
accent
#A83DA3
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8A87BE

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

Preview Lab → · Contrast checker → · Palette generator →

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