#8D87ED#8D87ED

#8D87ED is a light, vivid blue. Relative luminance 0.291; OKLCH L 67.3% C 0.148 H 284.4°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8D87ED
RGBrgb(141, 135, 237)
HSLhsl(244, 74%, 73%)
HSVhsv(244, 43%, 93%)
CMYKcmyk(40.5%, 43%, 0%, 7.1%)
CIE-LABlab(60.87, 26.79, -50.80)
CIE-LCHlch(60.87, 57.44, 297.81°)
OKLaboklab(67.32% 0.0367 -0.1434)
OKLCHoklch(67.32% 0.148 284.4)
XYZxyz(34.9302, 29.1038, 83.8815)
Luminance0.2910 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87ED #E7ED87
analogous
#87B4ED #8D87ED #C087ED
triadic
#8D87ED #ED8D87 #87ED8D
tetradic
#8D87ED #ED87B4 #E7ED87 #87EDC0
square
#8D87ED #ED87B4 #E7ED87 #87EDC0
split-complementary
#8D87ED #EDC087 #B4ED87
monochromatic
#2B21D9 #5A52E5 #8D87ED #C0BCF5 #E6E4FB

Accessibility & contrast

On white

3.08
#8D87ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#8D87ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87ED
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87ED#FFFFFF#000000##000000
##8D87ED1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F1
Deuteranopia (green-blind)
#5F90EB
Tritanopia (blue-blind)
#719BAF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8d87ed;
/* rgb */ color: rgb(141, 135, 237);
/* oklch */ color: oklch(67.3% 0.148 284.4);
Tailwind
colors: {
  custom: {
    50: '#b2aaf3',
    500: '#8d87ed',
    950: '#000000',
  },
}
SCSS
$custom: #8d87ed;
$custom-light: #b2aaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87ed",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 243.529,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.67319,
    "c": 0.14803,
    "h": 284.4
  },
  "luminance": 0.29105
}

Semantic roles & 50–950 ramp

primary
#8D87ED
secondary
#F1F3D8
accent
#D60FCA
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8D87ED

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

Preview Lab → · Contrast checker → · Palette generator →

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