#8D87F5#8D87F5

#8D87F5 is a light, vivid blue. Relative luminance 0.296; OKLCH L 67.8% C 0.159 H 283.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#8D87F5
RGBrgb(141, 135, 245)
HSLhsl(243, 85%, 75%)
HSVhsv(243, 45%, 96%)
CMYKcmyk(42.4%, 44.9%, 0%, 3.9%)
CIE-LABlab(61.29, 29.03, -54.56)
CIE-LCHlch(61.29, 61.80, 298.02°)
OKLaboklab(67.77% 0.0379 -0.1544)
OKLCHoklch(67.77% 0.159 283.8)
XYZxyz(36.1251, 29.5817, 90.1749)
Luminance0.2958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87F5 #EFF587
analogous
#87B8F5 #8D87F5 #C487F5
triadic
#8D87F5 #F58D87 #87F58D
tetradic
#8D87F5 #F587B8 #EFF587 #87F5C4
square
#8D87F5 #F587B8 #EFF587 #87F5C4
split-complementary
#8D87F5 #F5C487 #B8F587
monochromatic
#2216EC #574FF0 #8D87F5 #C3BFFA #E4E3FD

Accessibility & contrast

On white

3.04
#8D87F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#8D87F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87F5
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87F5#FFFFFF#000000##000000
##8D87F51.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D97F9
Deuteranopia (green-blind)
#5890F2
Tritanopia (blue-blind)
#6D9DB2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d87f5;
/* rgb */ color: rgb(141, 135, 245);
/* oklch */ color: oklch(67.8% 0.159 283.8);
Tailwind
colors: {
  custom: {
    50: '#b3aaf9',
    500: '#8d87f5',
    950: '#000000',
  },
}
SCSS
$custom: #8d87f5;
$custom-light: #b3aaf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87f5",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 243.273,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.67772,
    "c": 0.15896,
    "h": 283.8
  },
  "luminance": 0.29583
}

Semantic roles & 50–950 ramp

primary
#8D87F5
secondary
#F3F5D6
accent
#E104D5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8D87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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