#8A86EB#8A86EB

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

Color values

HEX#8A86EB
RGBrgb(138, 134, 235)
HSLhsl(242, 72%, 72%)
HSVhsv(242, 43%, 92%)
CMYKcmyk(41.3%, 43%, 0%, 7.8%)
CIE-LABlab(60.29, 26.08, -50.63)
CIE-LCHlch(60.29, 56.95, 297.25°)
OKLaboklab(66.79% 0.0342 -0.143)
OKLCHoklch(66.79% 0.147 283.5)
XYZxyz(33.9974, 28.4503, 82.2813)
Luminance0.2845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A86EB #E7EB86
analogous
#86B5EB #8A86EB #BC86EB
triadic
#8A86EB #EB8A86 #86EB8A
tetradic
#8A86EB #EB86B5 #E7EB86 #86EBBC
square
#8A86EB #EB86B5 #E7EB86 #86EBBC
split-complementary
#8A86EB #EBBC86 #B5EB86
monochromatic
#2A23D4 #5751E2 #8A86EB #BDBBF4 #E6E5FB

Accessibility & contrast

On white

3.14
#8A86EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#8A86EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A86EB
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A86EB#FFFFFF#000000##000000
##8A86EB1.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195EF
Deuteranopia (green-blind)
#5D8EE9
Tritanopia (blue-blind)
#6D9AAD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8a86eb;
/* rgb */ color: rgb(138, 134, 235);
/* oklch */ color: oklch(66.8% 0.147 283.5);
Tailwind
colors: {
  custom: {
    50: '#b0a9f2',
    500: '#8a86eb',
    950: '#000000',
  },
}
SCSS
$custom: #8a86eb;
$custom-light: #b0a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a86eb",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 235
  },
  "hsl": {
    "h": 242.376,
    "s": 71.631,
    "l": 72.353
  },
  "oklch": {
    "l": 0.66788,
    "c": 0.14702,
    "h": 283.5
  },
  "luminance": 0.28452
}

Semantic roles & 50–950 ramp

primary
#8A86EB
secondary
#F1F2D9
accent
#D412CC
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#110F17
muted
#807F85

Preview Lab

Preview with #8A86EB

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

Preview Lab → · Contrast checker → · Palette generator →

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