#8D87F7#8D87F7

#8D87F7 is a light, vivid blue. Relative luminance 0.297; OKLCH L 67.9% C 0.162 H 283.6°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8D87F7
RGBrgb(141, 135, 247)
HSLhsl(243, 88%, 75%)
HSVhsv(243, 45%, 97%)
CMYKcmyk(42.9%, 45.3%, 0%, 3.1%)
CIE-LABlab(61.40, 29.59, -55.49)
CIE-LCHlch(61.40, 62.89, 298.07°)
OKLaboklab(67.89% 0.0381 -0.1571)
OKLCHoklch(67.89% 0.162 283.6)
XYZxyz(36.4321, 29.7045, 91.7916)
Luminance0.2971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87F7 #F1F787
analogous
#87B9F7 #8D87F7 #C587F7
triadic
#8D87F7 #F78D87 #87F78D
tetradic
#8D87F7 #F787B9 #F1F787 #87F7C5
square
#8D87F7 #F787B9 #F1F787 #87F7C5
split-complementary
#8D87F7 #F7C587 #B9F787
monochromatic
#2014EF #564EF3 #8D87F7 #C4C0FB #E4E2FD

Accessibility & contrast

On white

3.03
#8D87F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#8D87F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87F7
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87F7#FFFFFF#000000##000000
##8D87F71.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B98FB
Deuteranopia (green-blind)
#5791F4
Tritanopia (blue-blind)
#6C9EB3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d87f7;
/* rgb */ color: rgb(141, 135, 247);
/* oklch */ color: oklch(67.9% 0.162 283.6);
Tailwind
colors: {
  custom: {
    50: '#b3aafa',
    500: '#8d87f7',
    950: '#000000',
  },
}
SCSS
$custom: #8d87f7;
$custom-light: #b3aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87f7",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 243.214,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.67887,
    "c": 0.16168,
    "h": 283.6
  },
  "luminance": 0.29706
}

Semantic roles & 50–950 ramp

primary
#8D87F7
secondary
#F3F5D6
accent
#E401D8
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8D87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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