#8A88CB#8A88CB

#8A88CB is a light, moderate blue. Relative luminance 0.273; OKLCH L 65.5% C 0.099 H 284.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#8A88CB
RGBrgb(138, 136, 203)
HSLhsl(242, 39%, 66%)
HSVhsv(242, 33%, 80%)
CMYKcmyk(32%, 33%, 0%, 20.4%)
CIE-LABlab(59.27, 16.22, -34.35)
CIE-LCHlch(59.27, 37.99, 295.27°)
OKLaboklab(65.51% 0.0251 -0.0957)
OKLCHoklch(65.51% 0.099 284.7)
XYZxyz(30.0620, 27.3226, 60.1782)
Luminance0.2732 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A88CB #C9CB88
analogous
#88A8CB #8A88CB #AC88CB
triadic
#8A88CB #CB8A88 #88CB8A
tetradic
#8A88CB #CB88A8 #C9CB88 #88CBAC
square
#8A88CB #CB88A8 #C9CB88 #88CBAC
split-complementary
#8A88CB #CBAC88 #A8CB88
monochromatic
#444297 #605DB8 #8A88CB #B4B3DE #DEDDF0

Accessibility & contrast

On white

3.25
#8A88CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#8A88CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A88CB
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A88CB#FFFFFF#000000##000000
##8A88CB1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7491CE
Deuteranopia (green-blind)
#728DC9
Tritanopia (blue-blind)
#7A94A0
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8a88cb;
/* rgb */ color: rgb(138, 136, 203);
/* oklch */ color: oklch(65.5% 0.099 284.7);
Tailwind
colors: {
  custom: {
    50: '#aeaadb',
    500: '#8a88cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a88cb;
$custom-light: #aeaadb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a88cb",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 203
  },
  "hsl": {
    "h": 241.791,
    "s": 39.181,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65507,
    "c": 0.09892,
    "h": 284.7
  },
  "luminance": 0.27323
}

Semantic roles & 50–950 ramp

primary
#8A88CB
secondary
#E2E2CD
accent
#B233AE
background
#FAFAFD
surface
#F4F4FB
border
#CECED4
text
#101015
muted
#7F7F83

Preview Lab

Preview with #8A88CB

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

Preview Lab → · Contrast checker → · Palette generator →

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