#8787DF#8787DF

#8787DF is a light, vivid blue. Relative luminance 0.278; OKLCH L 66.1% C 0.129 H 282.3°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8787DF
RGBrgb(135, 135, 223)
HSLhsl(240, 58%, 70%)
HSVhsv(240, 39%, 87%)
CMYKcmyk(39.5%, 39.5%, 0%, 12.5%)
CIE-LABlab(59.71, 21.38, -44.89)
CIE-LCHlch(59.71, 49.72, 295.47°)
OKLaboklab(66.09% 0.0275 -0.1263)
OKLCHoklch(66.09% 0.129 282.3)
XYZxyz(31.9711, 27.8053, 73.4801)
Luminance0.2781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8787DF #DFDF87
analogous
#87B3DF #8787DF #B387DF
triadic
#8787DF #DF8787 #87DF87
tetradic
#8787DF #DF87B3 #DFDF87 #87DFB3
square
#8787DF #DF87B3 #DFDF87 #87DFB3
split-complementary
#8787DF #DFB387 #B3DF87
monochromatic
#3232BA #5757D2 #8787DF #B7B7EC #E7E7F9

Accessibility & contrast

On white

3.20
#8787DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#8787DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8787DF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8787DF#FFFFFF#000000##000000
##8787DF1.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6993E2
Deuteranopia (green-blind)
#658DDD
Tritanopia (blue-blind)
#6D98A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8787df;
/* rgb */ color: rgb(135, 135, 223);
/* oklch */ color: oklch(66.1% 0.129 282.3);
Tailwind
colors: {
  custom: {
    50: '#ada9e9',
    500: '#8787df',
    950: '#000000',
  },
}
SCSS
$custom: #8787df;
$custom-light: #ada9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8787df",
  "rgb": {
    "r": 135,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 240,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.66091,
    "c": 0.12925,
    "h": 282.3
  },
  "luminance": 0.27807
}

Semantic roles & 50–950 ramp

primary
#8787DF
secondary
#EDEDD5
accent
#C520C5
background
#FAFAFE
surface
#F5F4FD
border
#CFCED5
text
#101016
muted
#7F7F84

Preview Lab

Preview with #8787DF

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

Preview Lab → · Contrast checker → · Palette generator →

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