#8D87F0#8D87F0

#8D87F0 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.5% C 0.152 H 284.1°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#8D87F0
RGBrgb(141, 135, 240)
HSLhsl(243, 78%, 74%)
HSVhsv(243, 44%, 94%)
CMYKcmyk(41.3%, 43.8%, 0%, 5.9%)
CIE-LABlab(61.03, 27.63, -52.22)
CIE-LCHlch(61.03, 59.08, 297.88°)
OKLaboklab(67.49% 0.0372 -0.1475)
OKLCHoklch(67.49% 0.152 284.1)
XYZxyz(35.3721, 29.2805, 86.2091)
Luminance0.2928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87F0 #EAF087
analogous
#87B5F0 #8D87F0 #C187F0
triadic
#8D87F0 #F08D87 #87F08D
tetradic
#8D87F0 #F087B5 #EAF087 #87F0C1
square
#8D87F0 #F087B5 #EAF087 #87F0C1
split-complementary
#8D87F0 #F0C187 #B5F087
monochromatic
#271CE1 #5951E9 #8D87F0 #C1BDF7 #E5E4FC

Accessibility & contrast

On white

3.06
#8D87F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#8D87F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87F0
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87F0#FFFFFF#000000##000000
##8D87F01.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6097F4
Deuteranopia (green-blind)
#5C90EE
Tritanopia (blue-blind)
#6F9CB0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d87f0;
/* rgb */ color: rgb(141, 135, 240);
/* oklch */ color: oklch(67.5% 0.152 284.1);
Tailwind
colors: {
  custom: {
    50: '#b3aaf5',
    500: '#8d87f0',
    950: '#000000',
  },
}
SCSS
$custom: #8d87f0;
$custom-light: #b3aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87f0",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 243.429,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67487,
    "c": 0.15215,
    "h": 284.1
  },
  "luminance": 0.29282
}

Semantic roles & 50–950 ramp

primary
#8D87F0
secondary
#F2F3D8
accent
#DA0BCE
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8D87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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