#8D87F1#8D87F1

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

Color values

HEX#8D87F1
RGBrgb(141, 135, 241)
HSLhsl(243, 79%, 74%)
HSVhsv(243, 44%, 95%)
CMYKcmyk(41.5%, 44%, 0%, 5.5%)
CIE-LABlab(61.08, 27.91, -52.69)
CIE-LCHlch(61.08, 59.62, 297.91°)
OKLaboklab(67.54% 0.0373 -0.1489)
OKLCHoklch(67.54% 0.154 284.1)
XYZxyz(35.5211, 29.3401, 86.9936)
Luminance0.2934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87F1 #EBF187
analogous
#87B6F1 #8D87F1 #C287F1
triadic
#8D87F1 #F18D87 #87F18D
tetradic
#8D87F1 #F187B6 #EBF187 #87F1C2
square
#8D87F1 #F187B6 #EBF187 #87F1C2
split-complementary
#8D87F1 #F1C287 #B6F187
monochromatic
#261AE3 #5950EB #8D87F1 #C1BEF7 #E5E4FC

Accessibility & contrast

On white

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

On black

6.87
#8D87F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87F1
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87F1#FFFFFF#000000##000000
##8D87F11.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F97F5
Deuteranopia (green-blind)
#5C90EF
Tritanopia (blue-blind)
#6F9CB0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d87f1;
/* rgb */ color: rgb(141, 135, 241);
/* oklch */ color: oklch(67.5% 0.154 284.1);
Tailwind
colors: {
  custom: {
    50: '#b3aaf6',
    500: '#8d87f1',
    950: '#000000',
  },
}
SCSS
$custom: #8d87f1;
$custom-light: #b3aaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87f1",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 243.396,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.67544,
    "c": 0.15352,
    "h": 284.1
  },
  "luminance": 0.29342
}

Semantic roles & 50–950 ramp

primary
#8D87F1
secondary
#F2F4D7
accent
#DB0AD0
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8D87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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