#8A88EB#8A88EB

#8A88EB is a light, vivid blue. Relative luminance 0.290; OKLCH L 67.2% C 0.144 H 282.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#8A88EB
RGBrgb(138, 136, 235)
HSLhsl(241, 71%, 73%)
HSVhsv(241, 42%, 92%)
CMYKcmyk(41.3%, 42.1%, 0%, 7.8%)
CIE-LABlab(60.79, 24.91, -49.84)
CIE-LCHlch(60.79, 55.72, 296.55°)
OKLaboklab(67.16% 0.0317 -0.1407)
OKLCHoklch(67.16% 0.144 282.7)
XYZxyz(34.2764, 29.0083, 82.3743)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A88EB #E9EB88
analogous
#88B7EB #8A88EB #BB88EB
triadic
#8A88EB #EB8A88 #88EB8A
tetradic
#8A88EB #EB88B7 #E9EB88 #88EBBB
square
#8A88EB #EB88B7 #E9EB88 #88EBBB
split-complementary
#8A88EB #EBBB88 #B7EB88
monochromatic
#2724D5 #5654E2 #8A88EB #BEBCF4 #E5E5FB

Accessibility & contrast

On white

3.09
#8A88EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#8A88EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A88EB
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A88EB#FFFFFF#000000##000000
##8A88EB1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EF
Deuteranopia (green-blind)
#608FE9
Tritanopia (blue-blind)
#6D9CAE
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a88eb;
/* rgb */ color: rgb(138, 136, 235);
/* oklch */ color: oklch(67.2% 0.144 282.7);
Tailwind
colors: {
  custom: {
    50: '#b0aaf2',
    500: '#8a88eb',
    950: '#000000',
  },
}
SCSS
$custom: #8a88eb;
$custom-light: #b0aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a88eb",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 241.212,
    "s": 71.223,
    "l": 72.745
  },
  "oklch": {
    "l": 0.67164,
    "c": 0.14421,
    "h": 282.7
  },
  "luminance": 0.2901
}

Semantic roles & 50–950 ramp

primary
#8A88EB
secondary
#F2F2D9
accent
#D312CF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #8A88EB

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

Preview Lab → · Contrast checker → · Palette generator →

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