#8787FA#8787FA

#8787FA is a light, vivid blue. Relative luminance 0.294; OKLCH L 67.6% C 0.167 H 281.0°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8787FA
RGBrgb(135, 135, 250)
HSLhsl(240, 92%, 75%)
HSVhsv(240, 46%, 98%)
CMYKcmyk(46%, 46%, 0%, 2%)
CIE-LABlab(61.11, 29.06, -57.62)
CIE-LCHlch(61.11, 64.53, 296.76°)
OKLaboklab(67.61% 0.0317 -0.1635)
OKLCHoklch(67.61% 0.167 281)
XYZxyz(35.9058, 29.3792, 94.2028)
Luminance0.2938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8787FA #FAFA87
analogous
#87C0FA #8787FA #C087FA
triadic
#8787FA #FA8787 #87FA87
tetradic
#8787FA #FA87C0 #FAFA87 #87FAC0
square
#8787FA #FA87C0 #FAFA87 #87FAC0
split-complementary
#8787FA #FAC087 #C0FA87
monochromatic
#1111F5 #4C4CF8 #8787FA #C2C2FC #E2E2FE

Accessibility & contrast

On white

3.05
#8787FA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#8787FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8787FA
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8787FA#FFFFFF#000000##000000
##8787FA1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FE
Deuteranopia (green-blind)
#508FF7
Tritanopia (blue-blind)
#5F9FB4
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8787fa;
/* rgb */ color: rgb(135, 135, 250);
/* oklch */ color: oklch(67.6% 0.167 281.0);
Tailwind
colors: {
  custom: {
    50: '#b0aafc',
    500: '#8787fa',
    950: '#000000',
  },
}
SCSS
$custom: #8787fa;
$custom-light: #b0aafc;
$custom-dark: #000000;
JSON
{
  "hex": "#8787fa",
  "rgb": {
    "r": 135,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.67614,
    "c": 0.16656,
    "h": 281
  },
  "luminance": 0.29381
}

Semantic roles & 50–950 ramp

primary
#8787FA
secondary
#F6F6D5
accent
#E600E5
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #8787FA

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

Preview Lab → · Contrast checker → · Palette generator →

#8787FA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva