#8D87F8#8D87F8

#8D87F8 is a light, vivid blue. Relative luminance 0.298; OKLCH L 67.9% C 0.163 H 283.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#8D87F8
RGBrgb(141, 135, 248)
HSLhsl(243, 89%, 75%)
HSVhsv(243, 46%, 97%)
CMYKcmyk(43.1%, 45.6%, 0%, 2.7%)
CIE-LABlab(61.45, 29.87, -55.95)
CIE-LCHlch(61.45, 63.43, 298.10°)
OKLaboklab(67.94% 0.0383 -0.1585)
OKLCHoklch(67.94% 0.163 283.6)
XYZxyz(36.5868, 29.7664, 92.6065)
Luminance0.2977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87F8 #F2F887
analogous
#87B9F8 #8D87F8 #C687F8
triadic
#8D87F8 #F88D87 #87F88D
tetradic
#8D87F8 #F887B9 #F2F887 #87F8C6
square
#8D87F8 #F887B9 #F2F887 #87F8C6
split-complementary
#8D87F8 #F8C687 #B9F887
monochromatic
#1F13F1 #564DF5 #8D87F8 #C4C1FB #E4E2FD

Accessibility & contrast

On white

3.02
#8D87F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#8D87F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87F8
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87F8#FFFFFF#000000##000000
##8D87F81.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FC
Deuteranopia (green-blind)
#5691F5
Tritanopia (blue-blind)
#6B9EB4
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d87f8;
/* rgb */ color: rgb(141, 135, 248);
/* oklch */ color: oklch(67.9% 0.163 283.6);
Tailwind
colors: {
  custom: {
    50: '#b3aafb',
    500: '#8d87f8',
    950: '#000000',
  },
}
SCSS
$custom: #8d87f8;
$custom-light: #b3aafb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87f8",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 243.186,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.67945,
    "c": 0.16303,
    "h": 283.6
  },
  "luminance": 0.29768
}

Semantic roles & 50–950 ramp

primary
#8D87F8
secondary
#F4F5D6
accent
#E600D9
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8D87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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