#8A87CD#8A87CD

#8A87CD is a light, moderate blue. Relative luminance 0.271; OKLCH L 65.4% C 0.103 H 285.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8A87CD
RGBrgb(138, 135, 205)
HSLhsl(243, 41%, 67%)
HSVhsv(243, 34%, 80%)
CMYKcmyk(32.7%, 34.1%, 0%, 19.6%)
CIE-LABlab(59.10, 17.33, -35.74)
CIE-LCHlch(59.10, 39.72, 295.86°)
OKLaboklab(65.41% 0.0269 -0.0997)
OKLCHoklch(65.41% 0.103 285.1)
XYZxyz(30.1617, 27.1382, 61.3948)
Luminance0.2714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87CD #CACD87
analogous
#87A7CD #8A87CD #AD87CD
triadic
#8A87CD #CD8A87 #87CD8A
tetradic
#8A87CD #CD87A7 #CACD87 #87CDAD
square
#8A87CD #CD87A7 #CACD87 #87CDAD
split-complementary
#8A87CD #CDAD87 #A7CD87
monochromatic
#44409A #605CBB #8A87CD #B4B2DF #DEDDF1

Accessibility & contrast

On white

3.27
#8A87CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#8A87CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87CD
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87CD#FFFFFF#000000##000000
##8A87CD1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7290D0
Deuteranopia (green-blind)
#708CCB
Tritanopia (blue-blind)
#7994A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8a87cd;
/* rgb */ color: rgb(138, 135, 205);
/* oklch */ color: oklch(65.4% 0.103 285.1);
Tailwind
colors: {
  custom: {
    50: '#aea9dc',
    500: '#8a87cd',
    950: '#000000',
  },
}
SCSS
$custom: #8a87cd;
$custom-light: #aea9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87cd",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 205
  },
  "hsl": {
    "h": 242.571,
    "s": 41.176,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65406,
    "c": 0.10328,
    "h": 285.1
  },
  "luminance": 0.27139
}

Semantic roles & 50–950 ramp

primary
#8A87CD
secondary
#E2E3CD
accent
#B431AF
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A87CD

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

Preview Lab → · Contrast checker → · Palette generator →

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