#8A87C2#8A87C2

#8A87C2 is a light, moderate blue. Relative luminance 0.266; OKLCH L 64.9% C 0.087 H 286.0°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8A87C2
RGBrgb(138, 135, 194)
HSLhsl(243, 33%, 65%)
HSVhsv(243, 30%, 76%)
CMYKcmyk(28.9%, 30.4%, 0%, 23.9%)
CIE-LABlab(58.63, 14.48, -30.27)
CIE-LCHlch(58.63, 33.56, 295.56°)
OKLaboklab(64.88% 0.0241 -0.084)
OKLCHoklch(64.88% 0.087 286)
XYZxyz(28.8803, 26.6256, 54.6461)
Luminance0.2663 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87C2 #BFC287
analogous
#87A2C2 #8A87C2 #A887C2
triadic
#8A87C2 #C28A87 #87C28A
tetradic
#8A87C2 #C287A2 #BFC287 #87C2A8
square
#8A87C2 #C287A2 #BFC287 #87C2A8
split-complementary
#8A87C2 #C2A887 #A2C287
monochromatic
#494689 #625EAD #8A87C2 #B2B0D7 #D9D8EB

Accessibility & contrast

On white

3.32
#8A87C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#8A87C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87C2
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87C2#FFFFFF#000000##000000
##8A87C21.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#778FC4
Deuteranopia (green-blind)
#758BC0
Tritanopia (blue-blind)
#7D919C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a87c2;
/* rgb */ color: rgb(138, 135, 194);
/* oklch */ color: oklch(64.9% 0.087 286.0);
Tailwind
colors: {
  custom: {
    50: '#ada9d4',
    500: '#8a87c2',
    950: '#000000',
  },
}
SCSS
$custom: #8a87c2;
$custom-light: #ada9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87c2",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 243.051,
    "s": 32.597,
    "l": 64.51
  },
  "oklch": {
    "l": 0.64883,
    "c": 0.08736,
    "h": 286
  },
  "luminance": 0.26626
}

Semantic roles & 50–950 ramp

primary
#8A87C2
secondary
#DCDDC8
accent
#AB3AA6
background
#FAFAFD
surface
#F4F4FA
border
#CECED3
text
#101014
muted
#7F7F83

Preview Lab

Preview with #8A87C2

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

Preview Lab → · Contrast checker → · Palette generator →

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