#8A86EC#8A86EC

#8A86EC is a light, vivid blue. Relative luminance 0.285; OKLCH L 66.8% C 0.148 H 283.4°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8A86EC
RGBrgb(138, 134, 236)
HSLhsl(242, 73%, 73%)
HSVhsv(242, 43%, 93%)
CMYKcmyk(41.5%, 43.2%, 0%, 7.5%)
CIE-LABlab(60.35, 26.36, -51.10)
CIE-LCHlch(60.35, 57.50, 297.28°)
OKLaboklab(66.84% 0.0344 -0.1444)
OKLCHoklch(66.84% 0.148 283.4)
XYZxyz(34.1423, 28.5082, 83.0443)
Luminance0.2851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A86EC #E8EC86
analogous
#86B5EC #8A86EC #BD86EC
triadic
#8A86EC #EC8A86 #86EC8A
tetradic
#8A86EC #EC86B5 #E8EC86 #86ECBD
square
#8A86EC #EC86B5 #E8EC86 #86ECBD
split-complementary
#8A86EC #ECBD86 #B5EC86
monochromatic
#2922D6 #5751E4 #8A86EC #BDBBF4 #E5E5FB

Accessibility & contrast

On white

3.13
#8A86EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#8A86EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A86EC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A86EC#FFFFFF#000000##000000
##8A86EC1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F0
Deuteranopia (green-blind)
#5C8EEA
Tritanopia (blue-blind)
#6C9BAE
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a86ec;
/* rgb */ color: rgb(138, 134, 236);
/* oklch */ color: oklch(66.8% 0.148 283.4);
Tailwind
colors: {
  custom: {
    50: '#b0a9f2',
    500: '#8a86ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a86ec;
$custom-light: #b0a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a86ec",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 236
  },
  "hsl": {
    "h": 242.353,
    "s": 72.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.66844,
    "c": 0.1484,
    "h": 283.4
  },
  "luminance": 0.2851
}

Semantic roles & 50–950 ramp

primary
#8A86EC
secondary
#F1F3D8
accent
#D511CD
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8A86EC

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

Preview Lab → · Contrast checker → · Palette generator →

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