#8A86BB#8A86BB

#8A86BB is a light, moderate blue. Relative luminance 0.260; OKLCH L 64.4% C 0.079 H 287.4°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8A86BB
RGBrgb(138, 134, 187)
HSLhsl(245, 28%, 63%)
HSVhsv(245, 28%, 73%)
CMYKcmyk(26.2%, 28.3%, 0%, 26.7%)
CIE-LABlab(58.08, 13.30, -27.15)
CIE-LCHlch(58.08, 30.23, 296.09°)
OKLaboklab(64.36% 0.0236 -0.075)
OKLCHoklch(64.36% 0.079 287.4)
XYZxyz(27.9737, 26.0408, 50.5566)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A86BB #B7BB86
analogous
#869CBB #8A86BB #A486BB
triadic
#8A86BB #BB8A86 #86BB8A
tetradic
#8A86BB #BB869C #B7BB86 #86BBA4
square
#8A86BB #BB869C #B7BB86 #86BBA4
split-complementary
#8A86BB #BBA486 #9CBB86
monochromatic
#4C477F #645FA5 #8A86BB #B0ADD1 #D6D4E7

Accessibility & contrast

On white

3.38
#8A86BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#8A86BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A86BB
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A86BB#FFFFFF#000000##000000
##8A86BB1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#788DBD
Deuteranopia (green-blind)
#778ABA
Tritanopia (blue-blind)
#7F8F99
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a86bb;
/* rgb */ color: rgb(138, 134, 187);
/* oklch */ color: oklch(64.4% 0.079 287.4);
Tailwind
colors: {
  custom: {
    50: '#ada9cf',
    500: '#8a86bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a86bb;
$custom-light: #ada9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a86bb",
  "rgb": {
    "r": 138,
    "g": 134,
    "b": 187
  },
  "hsl": {
    "h": 244.528,
    "s": 28.042,
    "l": 62.941
  },
  "oklch": {
    "l": 0.64363,
    "c": 0.07865,
    "h": 287.4
  },
  "luminance": 0.26041
}

Semantic roles & 50–950 ramp

primary
#8A86BB
secondary
#D6D8C5
accent
#A73F9F
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#100F14
muted
#7F7F82

Preview Lab

Preview with #8A86BB

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

Preview Lab → · Contrast checker → · Palette generator →

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