#8D87F4#8D87F4

#8D87F4 is a light, vivid blue. Relative luminance 0.295; OKLCH L 67.7% C 0.158 H 283.8°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8D87F4
RGBrgb(141, 135, 244)
HSLhsl(243, 83%, 74%)
HSVhsv(243, 45%, 96%)
CMYKcmyk(42.2%, 44.7%, 0%, 4.3%)
CIE-LABlab(61.24, 28.75, -54.09)
CIE-LCHlch(61.24, 61.26, 297.99°)
OKLaboklab(67.71% 0.0377 -0.153)
OKLCHoklch(67.71% 0.158 283.8)
XYZxyz(35.9729, 29.5208, 89.3731)
Luminance0.2952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D87F4 #EEF487
analogous
#87B8F4 #8D87F4 #C487F4
triadic
#8D87F4 #F48D87 #87F48D
tetradic
#8D87F4 #F487B8 #EEF487 #87F4C4
square
#8D87F4 #F487B8 #EEF487 #87F4C4
split-complementary
#8D87F4 #F4C487 #B8F487
monochromatic
#2217EA #584FEF #8D87F4 #C2BFF9 #E4E3FC

Accessibility & contrast

On white

3.04
#8D87F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#8D87F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D87F4
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D87F4#FFFFFF#000000##000000
##8D87F41.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D97F8
Deuteranopia (green-blind)
#5990F1
Tritanopia (blue-blind)
#6D9DB2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8d87f4;
/* rgb */ color: rgb(141, 135, 244);
/* oklch */ color: oklch(67.7% 0.158 283.8);
Tailwind
colors: {
  custom: {
    50: '#b3aaf8',
    500: '#8d87f4',
    950: '#000000',
  },
}
SCSS
$custom: #8d87f4;
$custom-light: #b3aaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d87f4",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 243.303,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67714,
    "c": 0.15761,
    "h": 283.8
  },
  "luminance": 0.29522
}

Semantic roles & 50–950 ramp

primary
#8D87F4
secondary
#F3F4D7
accent
#E006D4
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #8D87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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