#8D87F6#8D87F6

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

Color values

HEX#8D87F6
RGBrgb(141, 135, 246)
HSLhsl(243, 86%, 75%)
HSVhsv(243, 45%, 96%)
CMYKcmyk(42.7%, 45.1%, 0%, 3.5%)
CIE-LABlab(61.34, 29.31, -55.02)
CIE-LCHlch(61.34, 62.34, 298.04°)
OKLaboklab(67.83% 0.038 -0.1558)
OKLCHoklch(67.83% 0.16 283.7)
XYZxyz(36.2782, 29.6430, 90.9811)
Luminance0.2964 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87F6 #F0F687
analogous
#87B9F6 #8D87F6 #C487F6
triadic
#8D87F6 #F68D87 #87F68D
tetradic
#8D87F6 #F687B9 #F0F687 #87F6C4
square
#8D87F6 #F687B9 #F0F687 #87F6C4
split-complementary
#8D87F6 #F6C487 #B9F687
monochromatic
#2115ED #574EF2 #8D87F6 #C3C0FA #E4E3FD

Accessibility & contrast

On white

3.03
#8D87F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#8D87F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87F6
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87F6#FFFFFF#000000##000000
##8D87F61.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FA
Deuteranopia (green-blind)
#5791F3
Tritanopia (blue-blind)
#6C9EB3
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d87f6;
/* rgb */ color: rgb(141, 135, 246);
/* oklch */ color: oklch(67.8% 0.160 283.7);
Tailwind
colors: {
  custom: {
    50: '#b3aafa',
    500: '#8d87f6',
    950: '#000000',
  },
}
SCSS
$custom: #8d87f6;
$custom-light: #b3aafa;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87f6",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 243.243,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.67829,
    "c": 0.16033,
    "h": 283.7
  },
  "luminance": 0.29644
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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