#8A87FF#8A87FF

#8A87FF is a light, vivid blue. Relative luminance 0.300; OKLCH L 68.1% C 0.173 H 281.9°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#8A87FF
RGBrgb(138, 135, 255)
HSLhsl(242, 100%, 76%)
HSVhsv(242, 47%, 100%)
CMYKcmyk(45.9%, 47.1%, 0%, 0%)
CIE-LABlab(61.61, 31.18, -59.56)
CIE-LCHlch(61.61, 67.23, 297.63°)
OKLaboklab(68.13% 0.0357 -0.1691)
OKLCHoklch(68.13% 0.173 281.9)
XYZxyz(37.1898, 29.9494, 98.4096)
Luminance0.2995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A87FF #FCFF87
analogous
#87C0FF #8A87FF #C687FF
triadic
#8A87FF #FF8A87 #87FF8A
tetradic
#8A87FF #FF87C0 #FCFF87 #87FFC6
square
#8A87FF #FF87C0 #FCFF87 #87FFC6
split-complementary
#8A87FF #FFC687 #C0FF87
monochromatic
#130DFF #4E4AFF #8A87FF #C6C4FF #E1E0FF

Accessibility & contrast

On white

3.00
#8A87FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#8A87FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A87FF
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A87FF#FFFFFF#000000##000000
##8A87FF1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#4D91FC
Tritanopia (blue-blind)
#62A0B7
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a87ff;
/* rgb */ color: rgb(138, 135, 255);
/* oklch */ color: oklch(68.1% 0.173 281.9);
Tailwind
colors: {
  custom: {
    50: '#b2aaff',
    500: '#8a87ff',
    950: '#000000',
  },
}
SCSS
$custom: #8a87ff;
$custom-light: #b2aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#8a87ff",
  "rgb": {
    "r": 138,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 241.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.68133,
    "c": 0.17285,
    "h": 281.9
  },
  "luminance": 0.29951
}

Semantic roles & 50–950 ramp

primary
#8A87FF
secondary
#F6F7D4
accent
#E600E0
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8A87FF

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

Preview Lab → · Contrast checker → · Palette generator →

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