#8A87BC#8A87BC

#8A87BC is a light, moderate blue. Relative luminance 0.264; OKLCH L 64.6% C 0.079 H 286.6°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8A87BC
RGBrgb(138, 135, 188)
HSLhsl(243, 28%, 63%)
HSVhsv(243, 28%, 74%)
CMYKcmyk(26.6%, 28.2%, 0%, 26.3%)
CIE-LABlab(58.38, 12.96, -27.25)
CIE-LCHlch(58.38, 30.18, 295.44°)
OKLaboklab(64.61% 0.0224 -0.0753)
OKLCHoklch(64.61% 0.079 286.6)
XYZxyz(28.2200, 26.3615, 51.1687)
Luminance0.2636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87BC #B9BC87
analogous
#879EBC #8A87BC #A487BC
triadic
#8A87BC #BC8A87 #87BC8A
tetradic
#8A87BC #BC879E #B9BC87 #87BCA4
square
#8A87BC #BC879E #B9BC87 #87BCA4
split-complementary
#8A87BC #BCA487 #9EBC87
monochromatic
#4B4881 #6460A6 #8A87BC #B0AED2 #D7D6E8

Accessibility & contrast

On white

3.35
#8A87BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#8A87BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87BC
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87BC#FFFFFF#000000##000000
##8A87BC1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#798EBE
Deuteranopia (green-blind)
#788BBB
Tritanopia (blue-blind)
#7F909A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a87bc;
/* rgb */ color: rgb(138, 135, 188);
/* oklch */ color: oklch(64.6% 0.079 286.6);
Tailwind
colors: {
  custom: {
    50: '#ada9d0',
    500: '#8a87bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a87bc;
$custom-light: #ada9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87bc",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 243.396,
    "s": 28.342,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6461,
    "c": 0.07859,
    "h": 286.6
  },
  "luminance": 0.26362
}

Semantic roles & 50–950 ramp

primary
#8A87BC
secondary
#D8D9C6
accent
#A73FA1
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8A87BC

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

Preview Lab → · Contrast checker → · Palette generator →

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