#8B87F2#8B87F2

#8B87F2 is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.4% C 0.155 H 283.1°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8B87F2
RGBrgb(139, 135, 242)
HSLhsl(242, 80%, 74%)
HSVhsv(242, 44%, 95%)
CMYKcmyk(42.6%, 44.2%, 0%, 5.1%)
CIE-LABlab(60.98, 27.70, -53.41)
CIE-LCHlch(60.98, 60.16, 297.42°)
OKLaboklab(67.45% 0.0352 -0.1511)
OKLCHoklch(67.45% 0.155 283.1)
XYZxyz(35.3338, 29.2262, 87.7667)
Luminance0.2923 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B87F2 #EEF287
analogous
#87B9F2 #8B87F2 #C187F2
triadic
#8B87F2 #F28B87 #87F28B
tetradic
#8B87F2 #F287B9 #EEF287 #87F2C1
square
#8B87F2 #F287B9 #EEF287 #87F2C1
split-complementary
#8B87F2 #F2C187 #B9F287
monochromatic
#2119E6 #5650EC #8B87F2 #C0BEF8 #E4E3FC

Accessibility & contrast

On white

3.07
#8B87F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#8B87F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B87F2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B87F2#FFFFFF#000000##000000
##8B87F21.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#6B9DB1
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8b87f2;
/* rgb */ color: rgb(139, 135, 242);
/* oklch */ color: oklch(67.4% 0.155 283.1);
Tailwind
colors: {
  custom: {
    50: '#b1aaf7',
    500: '#8b87f2',
    950: '#000000',
  },
}
SCSS
$custom: #8b87f2;
$custom-light: #b1aaf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b87f2",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 242.243,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.67447,
    "c": 0.15511,
    "h": 283.1
  },
  "luminance": 0.29228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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