#8D87F9#8D87F9

#8D87F9 is a light, vivid blue. Relative luminance 0.298; OKLCH L 68.0% C 0.164 H 283.5°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#8D87F9
RGBrgb(141, 135, 249)
HSLhsl(243, 90%, 75%)
HSVhsv(243, 46%, 98%)
CMYKcmyk(43.4%, 45.8%, 0%, 2.4%)
CIE-LABlab(61.51, 30.16, -56.42)
CIE-LCHlch(61.51, 63.97, 298.12°)
OKLaboklab(68% 0.0384 -0.1598)
OKLCHoklch(68% 0.164 283.5)
XYZxyz(36.7424, 29.8286, 93.4257)
Luminance0.2983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87F9 #F3F987
analogous
#87BAF9 #8D87F9 #C687F9
triadic
#8D87F9 #F98D87 #87F98D
tetradic
#8D87F9 #F987BA #F3F987 #87F9C6
square
#8D87F9 #F987BA #F3F987 #87F9C6
split-complementary
#8D87F9 #F9C687 #BAF987
monochromatic
#1E12F3 #564DF6 #8D87F9 #C4C1FC #E3E2FE

Accessibility & contrast

On white

3.01
#8D87F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#8D87F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87F9
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87F9#FFFFFF#000000##000000
##8D87F91.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FD
Deuteranopia (green-blind)
#5591F6
Tritanopia (blue-blind)
#6B9FB4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d87f9;
/* rgb */ color: rgb(141, 135, 249);
/* oklch */ color: oklch(68.0% 0.164 283.5);
Tailwind
colors: {
  custom: {
    50: '#b3aafc',
    500: '#8d87f9',
    950: '#000000',
  },
}
SCSS
$custom: #8d87f9;
$custom-light: #b3aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87f9",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 243.158,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.68004,
    "c": 0.16438,
    "h": 283.5
  },
  "luminance": 0.2983
}

Semantic roles & 50–950 ramp

primary
#8D87F9
secondary
#F4F6D5
accent
#E600D9
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8D87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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