#8D87EF#8D87EF

#8D87EF is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.4% C 0.151 H 284.2°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8D87EF
RGBrgb(141, 135, 239)
HSLhsl(243, 76%, 73%)
HSVhsv(243, 44%, 94%)
CMYKcmyk(41%, 43.5%, 0%, 6.3%)
CIE-LABlab(60.98, 27.35, -51.75)
CIE-LCHlch(60.98, 58.53, 297.86°)
OKLaboklab(67.43% 0.037 -0.1462)
OKLCHoklch(67.43% 0.151 284.2)
XYZxyz(35.2240, 29.2213, 85.4290)
Luminance0.2922 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87EF #E9EF87
analogous
#87B5EF #8D87EF #C187EF
triadic
#8D87EF #EF8D87 #87EF8D
tetradic
#8D87EF #EF87B5 #E9EF87 #87EFC1
square
#8D87EF #EF87B5 #E9EF87 #87EFC1
split-complementary
#8D87EF #EFC187 #B5EF87
monochromatic
#291EDE #5A51E8 #8D87EF #C0BDF6 #E5E4FB

Accessibility & contrast

On white

3.07
#8D87EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#8D87EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87EF
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87EF#FFFFFF#000000##000000
##8D87EF1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6196F3
Deuteranopia (green-blind)
#5D90ED
Tritanopia (blue-blind)
#709CAF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d87ef;
/* rgb */ color: rgb(141, 135, 239);
/* oklch */ color: oklch(67.4% 0.151 284.2);
Tailwind
colors: {
  custom: {
    50: '#b2aaf5',
    500: '#8d87ef',
    950: '#000000',
  },
}
SCSS
$custom: #8d87ef;
$custom-light: #b2aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87ef",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 243.462,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.67431,
    "c": 0.15078,
    "h": 284.2
  },
  "luminance": 0.29223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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