#8786EA#8786EA

#8786EA is a light, vivid blue. Relative luminance 0.281; OKLCH L 66.5% C 0.146 H 282.1°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8786EA
RGBrgb(135, 134, 234)
HSLhsl(241, 70%, 72%)
HSVhsv(241, 43%, 92%)
CMYKcmyk(42.3%, 42.7%, 0%, 8.2%)
CIE-LABlab(60.02, 25.06, -50.53)
CIE-LCHlch(60.02, 56.40, 296.38°)
OKLaboklab(66.5% 0.0307 -0.1428)
OKLCHoklch(66.5% 0.146 282.1)
XYZxyz(33.3637, 28.1402, 81.4996)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8786EA #E9EA86
analogous
#86B7EA #8786EA #B986EA
triadic
#8786EA #EA8786 #86EA87
tetradic
#8786EA #EA86B7 #E9EA86 #86EAB9
square
#8786EA #EA86B7 #E9EA86 #86EAB9
split-complementary
#8786EA #EAB986 #B7EA86
monochromatic
#2624D1 #5352E1 #8786EA #BBBAF3 #E5E5FA

Accessibility & contrast

On white

3.17
#8786EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#8786EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8786EA
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8786EA#FFFFFF#000000##000000
##8786EA1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6194EE
Deuteranopia (green-blind)
#5C8DE8
Tritanopia (blue-blind)
#689AAD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8786ea;
/* rgb */ color: rgb(135, 134, 234);
/* oklch */ color: oklch(66.5% 0.146 282.1);
Tailwind
colors: {
  custom: {
    50: '#aea9f1',
    500: '#8786ea',
    950: '#000000',
  },
}
SCSS
$custom: #8786ea;
$custom-light: #aea9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8786ea",
  "rgb": {
    "r": 135,
    "g": 134,
    "b": 234
  },
  "hsl": {
    "h": 240.6,
    "s": 70.423,
    "l": 72.157
  },
  "oklch": {
    "l": 0.66503,
    "c": 0.14602,
    "h": 282.1
  },
  "luminance": 0.28142
}

Semantic roles & 50–950 ramp

primary
#8786EA
secondary
#F2F2D9
accent
#D213D1
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8786EA

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

Preview Lab → · Contrast checker → · Palette generator →

#8786EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva