#8D87F3#8D87F3

#8D87F3 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.7% C 0.156 H 283.9°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8D87F3
RGBrgb(141, 135, 243)
HSLhsl(243, 82%, 74%)
HSVhsv(243, 44%, 95%)
CMYKcmyk(42%, 44.4%, 0%, 4.7%)
CIE-LABlab(61.19, 28.47, -53.62)
CIE-LCHlch(61.19, 60.71, 297.96°)
OKLaboklab(67.66% 0.0376 -0.1517)
OKLCHoklch(67.66% 0.156 283.9)
XYZxyz(35.8215, 29.4603, 88.5756)
Luminance0.2946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87F3 #EDF387
analogous
#87B7F3 #8D87F3 #C387F3
triadic
#8D87F3 #F38D87 #87F38D
tetradic
#8D87F3 #F387B7 #EDF387 #87F3C3
square
#8D87F3 #F387B7 #EDF387 #87F3C3
split-complementary
#8D87F3 #F3C387 #B7F387
monochromatic
#2318E8 #584FED #8D87F3 #C2BFF9 #E5E3FC

Accessibility & contrast

On white

3.05
#8D87F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#8D87F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87F3
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87F3#FFFFFF#000000##000000
##8D87F31.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F7
Deuteranopia (green-blind)
#5A90F1
Tritanopia (blue-blind)
#6E9DB1
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d87f3;
/* rgb */ color: rgb(141, 135, 243);
/* oklch */ color: oklch(67.7% 0.156 283.9);
Tailwind
colors: {
  custom: {
    50: '#b3aaf7',
    500: '#8d87f3',
    950: '#000000',
  },
}
SCSS
$custom: #8d87f3;
$custom-light: #b3aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87f3",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 243.333,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.67657,
    "c": 0.15625,
    "h": 283.9
  },
  "luminance": 0.29462
}

Semantic roles & 50–950 ramp

primary
#8D87F3
secondary
#F2F4D7
accent
#DE07D2
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8D87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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