#8A86DC#8A86DC

#8A86DC is a light, vivid blue. Relative luminance 0.276; OKLCH L 66.0% C 0.126 H 284.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#8A86DC
RGBrgb(138, 134, 220)
HSLhsl(243, 55%, 69%)
HSVhsv(243, 39%, 86%)
CMYKcmyk(37.3%, 39.1%, 0%, 13.7%)
CIE-LABlab(59.54, 21.93, -43.47)
CIE-LCHlch(59.54, 48.68, 296.77°)
OKLaboklab(65.97% 0.0316 -0.1221)
OKLCHoklch(65.97% 0.126 284.5)
XYZxyz(31.9210, 27.6197, 71.3455)
Luminance0.2762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A86DC #D8DC86
analogous
#86ADDC #8A86DC #B586DC
triadic
#8A86DC #DC8A86 #86DC8A
tetradic
#8A86DC #DC86AD #D8DC86 #86DCB5
square
#8A86DC #DC86AD #D8DC86 #86DCB5
split-complementary
#8A86DC #DCB586 #ADDC86
monochromatic
#3A34B4 #5C57CE #8A86DC #B8B5EA #E6E5F7

Accessibility & contrast

On white

3.22
#8A86DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#8A86DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A86DC
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A86DC#FFFFFF#000000##000000
##8A86DC1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92DF
Deuteranopia (green-blind)
#678DDA
Tritanopia (blue-blind)
#7397A6
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a86dc;
/* rgb */ color: rgb(138, 134, 220);
/* oklch */ color: oklch(66.0% 0.126 284.5);
Tailwind
colors: {
  custom: {
    50: '#afa9e7',
    500: '#8a86dc',
    950: '#000000',
  },
}
SCSS
$custom: #8a86dc;
$custom-light: #afa9e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a86dc",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 220
  },
  "hsl": {
    "h": 242.791,
    "s": 55.128,
    "l": 69.412
  },
  "oklch": {
    "l": 0.65972,
    "c": 0.1261,
    "h": 284.5
  },
  "luminance": 0.27621
}

Semantic roles & 50–950 ramp

primary
#8A86DC
secondary
#EAEBD3
accent
#C323BB
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#110F16
muted
#807F84

Preview Lab

Preview with #8A86DC

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

Preview Lab → · Contrast checker → · Palette generator →

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