#8D87F2#8D87F2

#8D87F2 is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.6% C 0.155 H 284.0°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8D87F2
RGBrgb(141, 135, 242)
HSLhsl(243, 80%, 74%)
HSVhsv(243, 44%, 95%)
CMYKcmyk(41.7%, 44.2%, 0%, 5.1%)
CIE-LABlab(61.13, 28.19, -53.15)
CIE-LCHlch(61.13, 60.17, 297.94°)
OKLaboklab(67.6% 0.0374 -0.1503)
OKLCHoklch(67.6% 0.155 284)
XYZxyz(35.6709, 29.4000, 87.7825)
Luminance0.2940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87F2 #ECF287
analogous
#87B7F2 #8D87F2 #C387F2
triadic
#8D87F2 #F28D87 #87F28D
tetradic
#8D87F2 #F287B7 #ECF287 #87F2C3
square
#8D87F2 #F287B7 #ECF287 #87F2C3
split-complementary
#8D87F2 #F2C387 #B7F287
monochromatic
#2419E6 #5950EC #8D87F2 #C1BEF8 #E5E3FC

Accessibility & contrast

On white

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

On black

6.88
#8D87F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87F2
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87F2#FFFFFF#000000##000000
##8D87F21.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d87f2;
/* rgb */ color: rgb(141, 135, 242);
/* oklch */ color: oklch(67.6% 0.155 284.0);
Tailwind
colors: {
  custom: {
    50: '#b3aaf7',
    500: '#8d87f2',
    950: '#000000',
  },
}
SCSS
$custom: #8d87f2;
$custom-light: #b3aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87f2",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 243.364,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.676,
    "c": 0.15488,
    "h": 284
  },
  "luminance": 0.29401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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