#8A86EF#8A86EF

#8A86EF is a light, vivid blue. Relative luminance 0.287; OKLCH L 67.0% C 0.153 H 283.2°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8A86EF
RGBrgb(138, 134, 239)
HSLhsl(242, 77%, 73%)
HSVhsv(242, 44%, 94%)
CMYKcmyk(42.3%, 43.9%, 0%, 6.3%)
CIE-LABlab(60.50, 27.20, -52.51)
CIE-LCHlch(60.50, 59.14, 297.38°)
OKLaboklab(67.01% 0.0348 -0.1485)
OKLCHoklch(67.01% 0.153 283.2)
XYZxyz(34.5818, 28.6840, 85.3591)
Luminance0.2868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A86EF #EBEF86
analogous
#86B6EF #8A86EF #BE86EF
triadic
#8A86EF #EF8A86 #86EF8A
tetradic
#8A86EF #EF86B6 #EBEF86 #86EFBE
square
#8A86EF #EF86B6 #EBEF86 #86EFBE
split-complementary
#8A86EF #EFBE86 #B6EF86
monochromatic
#251DDD #5650E8 #8A86EF #BEBCF6 #E5E4FB

Accessibility & contrast

On white

3.12
#8A86EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#8A86EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A86EF
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A86EF#FFFFFF#000000##000000
##8A86EF1.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E95F3
Deuteranopia (green-blind)
#5A8EED
Tritanopia (blue-blind)
#6B9BAF
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8a86ef;
/* rgb */ color: rgb(138, 134, 239);
/* oklch */ color: oklch(67.0% 0.153 283.2);
Tailwind
colors: {
  custom: {
    50: '#b1a9f5',
    500: '#8a86ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a86ef;
$custom-light: #b1a9f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a86ef",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 239
  },
  "hsl": {
    "h": 242.286,
    "s": 76.642,
    "l": 73.137
  },
  "oklch": {
    "l": 0.67013,
    "c": 0.15252,
    "h": 283.2
  },
  "luminance": 0.28685
}

Semantic roles & 50–950 ramp

primary
#8A86EF
secondary
#F2F3D8
accent
#D90DD1
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#110F17
muted
#807F85

Preview Lab

Preview with #8A86EF

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

Preview Lab → · Contrast checker → · Palette generator →

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