#8D87FE#8D87FE

#8D87FE is a light, vivid blue. Relative luminance 0.301; OKLCH L 68.3% C 0.171 H 283.2°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8D87FE
RGBrgb(141, 135, 254)
HSLhsl(243, 98%, 76%)
HSVhsv(243, 47%, 100%)
CMYKcmyk(44.5%, 46.9%, 0%, 0.4%)
CIE-LABlab(61.78, 31.57, -58.73)
CIE-LCHlch(61.78, 66.68, 298.26°)
OKLaboklab(68.3% 0.039 -0.1666)
OKLCHoklch(68.3% 0.171 283.2)
XYZxyz(37.5326, 30.1447, 97.5876)
Luminance0.3015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87FE #F8FE87
analogous
#87BDFE #8D87FE #C987FE
triadic
#8D87FE #FE8D87 #87FE8D
tetradic
#8D87FE #FE87BD #F8FE87 #87FEC9
square
#8D87FE #FE87BD #F8FE87 #87FEC9
split-complementary
#8D87FE #FEC987 #BDFE87
monochromatic
#1A0EFD #534AFD #8D87FE #C7C4FF #E2E1FF

Accessibility & contrast

On white

2.99
#8D87FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#8D87FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D87FE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87FE#FFFFFF#000000##000000
##8D87FE1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5699FF
Deuteranopia (green-blind)
#5091FB
Tritanopia (blue-blind)
#68A0B6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d87fe;
/* rgb */ color: rgb(141, 135, 254);
/* oklch */ color: oklch(68.3% 0.171 283.2);
Tailwind
colors: {
  custom: {
    50: '#b4aaff',
    500: '#8d87fe',
    950: '#000000',
  },
}
SCSS
$custom: #8d87fe;
$custom-light: #b4aaff;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87fe",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 243.025,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.68298,
    "c": 0.17111,
    "h": 283.2
  },
  "luminance": 0.30146
}

Semantic roles & 50–950 ramp

primary
#8D87FE
secondary
#F5F7D4
accent
#E600DA
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121018
muted
#817F86

Preview Lab

Preview with #8D87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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