#8D87FA#8D87FA

#8D87FA is a light, vivid blue. Relative luminance 0.299; OKLCH L 68.1% C 0.166 H 283.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#8D87FA
RGBrgb(141, 135, 250)
HSLhsl(243, 92%, 75%)
HSVhsv(243, 46%, 98%)
CMYKcmyk(43.6%, 46%, 0%, 2%)
CIE-LABlab(61.56, 30.44, -56.88)
CIE-LCHlch(61.56, 64.51, 298.15°)
OKLaboklab(68.06% 0.0385 -0.1612)
OKLCHoklch(68.06% 0.166 283.4)
XYZxyz(36.8987, 29.8912, 94.2493)
Luminance0.2989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87FA #F4FA87
analogous
#87BBFA #8D87FA #C687FA
triadic
#8D87FA #FA8D87 #87FA8D
tetradic
#8D87FA #FA87BB #F4FA87 #87FAC6
square
#8D87FA #FA87BB #F4FA87 #87FAC6
split-complementary
#8D87FA #FAC687 #BBFA87
monochromatic
#1D11F5 #554CF8 #8D87FA #C5C2FC #E3E2FE

Accessibility & contrast

On white

3.01
#8D87FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#8D87FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87FA
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87FA#FFFFFF#000000##000000
##8D87FA1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5998FE
Deuteranopia (green-blind)
#5491F7
Tritanopia (blue-blind)
#6A9FB5
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8d87fa;
/* rgb */ color: rgb(141, 135, 250);
/* oklch */ color: oklch(68.1% 0.166 283.4);
Tailwind
colors: {
  custom: {
    50: '#b3aafc',
    500: '#8d87fa',
    950: '#000000',
  },
}
SCSS
$custom: #8d87fa;
$custom-light: #b3aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87fa",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 243.13,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.68062,
    "c": 0.16573,
    "h": 283.4
  },
  "luminance": 0.29893
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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