#8A87CE#8A87CE

#8A87CE is a light, moderate blue. Relative luminance 0.272; OKLCH L 65.5% C 0.105 H 285.0°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8A87CE
RGBrgb(138, 135, 206)
HSLhsl(243, 42%, 67%)
HSVhsv(243, 34%, 81%)
CMYKcmyk(33%, 34.5%, 0%, 19.2%)
CIE-LABlab(59.15, 17.59, -36.24)
CIE-LCHlch(59.15, 40.28, 295.89°)
OKLaboklab(65.45% 0.0272 -0.1011)
OKLCHoklch(65.45% 0.105 285)
XYZxyz(30.2828, 27.1866, 62.0326)
Luminance0.2719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87CE #CBCE87
analogous
#87A8CE #8A87CE #AE87CE
triadic
#8A87CE #CE8A87 #87CE8A
tetradic
#8A87CE #CE87A8 #CBCE87 #87CEAE
square
#8A87CE #CE87A8 #CBCE87 #87CEAE
split-complementary
#8A87CE #CEAE87 #A8CE87
monochromatic
#433F9B #605CBC #8A87CE #B4B2E0 #DFDEF1

Accessibility & contrast

On white

3.26
#8A87CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#8A87CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87CE
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87CE#FFFFFF#000000##000000
##8A87CE1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a87ce;
/* rgb */ color: rgb(138, 135, 206);
/* oklch */ color: oklch(65.5% 0.105 285.0);
Tailwind
colors: {
  custom: {
    50: '#aea9dd',
    500: '#8a87ce',
    950: '#000000',
  },
}
SCSS
$custom: #8a87ce;
$custom-light: #aea9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87ce",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 242.535,
    "s": 42.012,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65454,
    "c": 0.10472,
    "h": 285
  },
  "luminance": 0.27187
}

Semantic roles & 50–950 ramp

primary
#8A87CE
secondary
#E3E4CD
accent
#B530AF
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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