#8D87FC#8D87FC

#8D87FC is a light, vivid blue. Relative luminance 0.300; OKLCH L 68.2% C 0.168 H 283.3°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8D87FC
RGBrgb(141, 135, 252)
HSLhsl(243, 95%, 76%)
HSVhsv(243, 46%, 99%)
CMYKcmyk(44%, 46.4%, 0%, 1.2%)
CIE-LABlab(61.67, 31.00, -57.81)
CIE-LCHlch(61.67, 65.60, 298.21°)
OKLaboklab(68.18% 0.0387 -0.1639)
OKLCHoklch(68.18% 0.168 283.3)
XYZxyz(37.2140, 30.0173, 95.9097)
Luminance0.3002 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87FC #F6FC87
analogous
#87BBFC #8D87FC #C787FC
triadic
#8D87FC #FC8D87 #87FC8D
tetradic
#8D87FC #FC87BB #F6FC87 #87FCC7
square
#8D87FC #FC87BB #F6FC87 #87FCC7
split-complementary
#8D87FC #FCC787 #BBFC87
monochromatic
#1C10F9 #544BFB #8D87FC #C6C3FD #E3E1FE

Accessibility & contrast

On white

3.00
#8D87FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8D87FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D87FC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87FC#FFFFFF#000000##000000
##8D87FC1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5799FF
Deuteranopia (green-blind)
#5291F9
Tritanopia (blue-blind)
#699FB5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d87fc;
/* rgb */ color: rgb(141, 135, 252);
/* oklch */ color: oklch(68.2% 0.168 283.3);
Tailwind
colors: {
  custom: {
    50: '#b4aafe',
    500: '#8d87fc',
    950: '#000000',
  },
}
SCSS
$custom: #8d87fc;
$custom-light: #b4aafe;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87fc",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 243.077,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.6818,
    "c": 0.16842,
    "h": 283.3
  },
  "luminance": 0.30019
}

Semantic roles & 50–950 ramp

primary
#8D87FC
secondary
#F5F6D5
accent
#E600DA
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8D87FC

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

Preview Lab → · Contrast checker → · Palette generator →

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