#8A88BB#8A88BB

#8A88BB is a light, moderate blue. Relative luminance 0.266; OKLCH L 64.8% C 0.076 H 285.9°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8A88BB
RGBrgb(138, 136, 187)
HSLhsl(242, 27%, 63%)
HSVhsv(242, 27%, 73%)
CMYKcmyk(26.2%, 27.3%, 0%, 26.7%)
CIE-LABlab(58.60, 12.13, -26.34)
CIE-LCHlch(58.60, 29.00, 294.73°)
OKLaboklab(64.77% 0.0207 -0.0727)
OKLCHoklch(64.77% 0.076 285.9)
XYZxyz(28.2528, 26.5989, 50.6496)
Luminance0.2660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A88BB #B9BB88
analogous
#889FBB #8A88BB #A388BB
triadic
#8A88BB #BB8A88 #88BB8A
tetradic
#8A88BB #BB889F #B9BB88 #88BBA3
square
#8A88BB #BB889F #B9BB88 #88BBA3
split-complementary
#8A88BB #BBA388 #9FBB88
monochromatic
#4B4980 #6461A5 #8A88BB #B0AFD1 #D7D6E8

Accessibility & contrast

On white

3.32
#8A88BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#8A88BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A88BB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A88BB#FFFFFF#000000##000000
##8A88BB1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8EBD
Deuteranopia (green-blind)
#798CBA
Tritanopia (blue-blind)
#7F919A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a88bb;
/* rgb */ color: rgb(138, 136, 187);
/* oklch */ color: oklch(64.8% 0.076 285.9);
Tailwind
colors: {
  custom: {
    50: '#adaacf',
    500: '#8a88bb',
    950: '#000000',
  },
}
SCSS
$custom: #8a88bb;
$custom-light: #adaacf;
$custom-dark: #000000;
JSON
{
  "hex": "#8a88bb",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 187
  },
  "hsl": {
    "h": 242.353,
    "s": 27.273,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64769,
    "c": 0.07563,
    "h": 285.9
  },
  "luminance": 0.26599
}

Semantic roles & 50–950 ramp

primary
#8A88BB
secondary
#D8D8C6
accent
#A640A2
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8A88BB

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

Preview Lab → · Contrast checker → · Palette generator →

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