#8B87F4#8B87F4

#8B87F4 is a light, vivid blue. Relative luminance 0.293; OKLCH L 67.6% C 0.158 H 283.0°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8B87F4
RGBrgb(139, 135, 244)
HSLhsl(242, 83%, 74%)
HSVhsv(242, 45%, 96%)
CMYKcmyk(43%, 44.7%, 0%, 4.3%)
CIE-LABlab(61.09, 28.27, -54.34)
CIE-LCHlch(61.09, 61.25, 297.48°)
OKLaboklab(67.56% 0.0355 -0.1538)
OKLCHoklch(67.56% 0.158 283)
XYZxyz(35.6358, 29.3470, 89.3573)
Luminance0.2935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B87F4 #F0F487
analogous
#87BAF4 #8B87F4 #C287F4
triadic
#8B87F4 #F48B87 #87F48B
tetradic
#8B87F4 #F487BA #F0F487 #87F4C2
square
#8B87F4 #F487BA #F0F487 #87F4C2
split-complementary
#8B87F4 #F4C287 #BAF487
monochromatic
#1F17EA #554FEF #8B87F4 #C1BFF9 #E4E3FC

Accessibility & contrast

On white

3.06
#8B87F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#8B87F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B87F4
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B87F4#FFFFFF#000000##000000
##8B87F41.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D97F8
Deuteranopia (green-blind)
#5890F2
Tritanopia (blue-blind)
#6A9DB2
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8b87f4;
/* rgb */ color: rgb(139, 135, 244);
/* oklch */ color: oklch(67.6% 0.158 283.0);
Tailwind
colors: {
  custom: {
    50: '#b2aaf8',
    500: '#8b87f4',
    950: '#000000',
  },
}
SCSS
$custom: #8b87f4;
$custom-light: #b2aaf8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b87f4",
  "rgb": {
    "r": 139,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 242.202,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.67562,
    "c": 0.15784,
    "h": 283
  },
  "luminance": 0.29349
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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