#8A88BC#8A88BC

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

Color values

HEX#8A88BC
RGBrgb(138, 136, 188)
HSLhsl(242, 28%, 64%)
HSVhsv(242, 28%, 74%)
CMYKcmyk(26.6%, 27.7%, 0%, 26.3%)
CIE-LABlab(58.64, 12.38, -26.85)
CIE-LCHlch(58.64, 29.57, 294.76°)
OKLaboklab(64.81% 0.021 -0.0742)
OKLCHoklch(64.81% 0.077 285.8)
XYZxyz(28.3602, 26.6419, 51.2154)
Luminance0.2664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A88BC #BABC88
analogous
#88A0BC #8A88BC #A488BC
triadic
#8A88BC #BC8A88 #88BC8A
tetradic
#8A88BC #BC88A0 #BABC88 #88BCA4
square
#8A88BC #BC88A0 #BABC88 #88BCA4
split-complementary
#8A88BC #BCA488 #A0BC88
monochromatic
#4B4981 #6461A6 #8A88BC #B0AFD2 #D7D6E8

Accessibility & contrast

On white

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

On black

6.33
#8A88BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A88BC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A88BC#FFFFFF#000000##000000
##8A88BC1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8EBE
Deuteranopia (green-blind)
#798CBB
Tritanopia (blue-blind)
#7E919A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8a88bc;
/* rgb */ color: rgb(138, 136, 188);
/* oklch */ color: oklch(64.8% 0.077 285.8);
Tailwind
colors: {
  custom: {
    50: '#adaad0',
    500: '#8a88bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a88bc;
$custom-light: #adaad0;
$custom-dark: #000000;
JSON
{
  "hex": "#8a88bc",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 188
  },
  "hsl": {
    "h": 242.308,
    "s": 27.957,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64813,
    "c": 0.07709,
    "h": 285.8
  },
  "luminance": 0.26642
}

Semantic roles & 50–950 ramp

primary
#8A88BC
secondary
#D8D9C7
accent
#A73FA3
background
#FAFAFC
surface
#F4F4F9
border
#CECED2
text
#101014
muted
#7F7F82

Preview Lab

Preview with #8A88BC

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

Preview Lab → · Contrast checker → · Palette generator →

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