#8A87E8#8A87E8

#8A87E8 is a light, vivid blue. Relative luminance 0.286; OKLCH L 66.8% C 0.141 H 283.3°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8A87E8
RGBrgb(138, 135, 232)
HSLhsl(242, 68%, 72%)
HSVhsv(242, 42%, 91%)
CMYKcmyk(40.5%, 41.8%, 0%, 9%)
CIE-LABlab(60.39, 24.65, -48.82)
CIE-LCHlch(60.39, 54.69, 296.80°)
OKLaboklab(66.81% 0.0325 -0.1377)
OKLCHoklch(66.81% 0.141 283.3)
XYZxyz(33.7065, 28.5561, 80.0642)
Luminance0.2856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87E8 #E5E887
analogous
#87B5E8 #8A87E8 #BB87E8
triadic
#8A87E8 #E88A87 #87E88A
tetradic
#8A87E8 #E887B5 #E5E887 #87E8BB
square
#8A87E8 #E887B5 #E5E887 #87E8BB
split-complementary
#8A87E8 #E8BB87 #B5E887
monochromatic
#2C27CD #5854DE #8A87E8 #BCBAF2 #E6E5FA

Accessibility & contrast

On white

3.13
#8A87E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#8A87E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87E8
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87E8#FFFFFF#000000##000000
##8A87E81.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6495EC
Deuteranopia (green-blind)
#608EE6
Tritanopia (blue-blind)
#6E9AAC
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a87e8;
/* rgb */ color: rgb(138, 135, 232);
/* oklch */ color: oklch(66.8% 0.141 283.3);
Tailwind
colors: {
  custom: {
    50: '#b0aaf0',
    500: '#8a87e8',
    950: '#000000',
  },
}
SCSS
$custom: #8a87e8;
$custom-light: #b0aaf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87e8",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 232
  },
  "hsl": {
    "h": 241.856,
    "s": 67.832,
    "l": 71.961
  },
  "oklch": {
    "l": 0.66809,
    "c": 0.14146,
    "h": 283.3
  },
  "luminance": 0.28557
}

Semantic roles & 50–950 ramp

primary
#8A87E8
secondary
#F1F2D9
accent
#D016CA
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8A87E8

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

Preview Lab → · Contrast checker → · Palette generator →

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