#8D87E0#8D87E0

#8D87E0 is a light, vivid blue. Relative luminance 0.284; OKLCH L 66.6% C 0.130 H 285.4°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8D87E0
RGBrgb(141, 135, 224)
HSLhsl(244, 59%, 70%)
HSVhsv(244, 40%, 88%)
CMYKcmyk(37.1%, 39.7%, 0%, 12.2%)
CIE-LABlab(60.22, 23.23, -44.61)
CIE-LCHlch(60.22, 50.30, 297.50°)
OKLaboklab(66.61% 0.0345 -0.1253)
OKLCHoklch(66.61% 0.13 285.4)
XYZxyz(33.0993, 28.3714, 74.2388)
Luminance0.2837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87E0 #DAE087
analogous
#87ADE0 #8D87E0 #B987E0
triadic
#8D87E0 #E08D87 #87E08D
tetradic
#8D87E0 #E087AD #DAE087 #87E0B9
square
#8D87E0 #E087AD #DAE087 #87E0B9
split-complementary
#8D87E0 #E0B987 #ADE087
monochromatic
#3A31BC #5F56D3 #8D87E0 #BBB8ED #E8E7F9

Accessibility & contrast

On white

3.15
#8D87E0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#8D87E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87E0
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87E0#FFFFFF#000000##000000
##8D87E01.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A94E3
Deuteranopia (green-blind)
#678FDE
Tritanopia (blue-blind)
#7698A9
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d87e0;
/* rgb */ color: rgb(141, 135, 224);
/* oklch */ color: oklch(66.6% 0.130 285.4);
Tailwind
colors: {
  custom: {
    50: '#b1aaea',
    500: '#8d87e0',
    950: '#000000',
  },
}
SCSS
$custom: #8d87e0;
$custom-light: #b1aaea;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87e0",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 224
  },
  "hsl": {
    "h": 244.045,
    "s": 58.94,
    "l": 70.392
  },
  "oklch": {
    "l": 0.66612,
    "c": 0.13,
    "h": 285.4
  },
  "luminance": 0.28372
}

Semantic roles & 50–950 ramp

primary
#8D87E0
secondary
#ECEED5
accent
#C71FBB
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #8D87E0

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

Preview Lab → · Contrast checker → · Palette generator →

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