#8A88EC#8A88EC

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

Color values

HEX#8A88EC
RGBrgb(138, 136, 236)
HSLhsl(241, 72%, 73%)
HSVhsv(241, 42%, 93%)
CMYKcmyk(41.5%, 42.4%, 0%, 7.5%)
CIE-LABlab(60.84, 25.19, -50.32)
CIE-LCHlch(60.84, 56.27, 296.59°)
OKLaboklab(67.22% 0.0319 -0.1421)
OKLCHoklch(67.22% 0.146 282.7)
XYZxyz(34.4213, 29.0663, 83.1373)
Luminance0.2907 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A88EC #EAEC88
analogous
#88B8EC #8A88EC #BC88EC
triadic
#8A88EC #EC8A88 #88EC8A
tetradic
#8A88EC #EC88B8 #EAEC88 #88ECBC
square
#8A88EC #EC88B8 #EAEC88 #88ECBC
split-complementary
#8A88EC #ECBC88 #B8EC88
monochromatic
#2622D7 #5653E4 #8A88EC #BEBDF4 #E5E5FB

Accessibility & contrast

On white

3.08
#8A88EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#8A88EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A88EC
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A88EC#FFFFFF#000000##000000
##8A88EC1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F0
Deuteranopia (green-blind)
#5F8FEA
Tritanopia (blue-blind)
#6C9CAF
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a88ec;
/* rgb */ color: rgb(138, 136, 236);
/* oklch */ color: oklch(67.2% 0.146 282.7);
Tailwind
colors: {
  custom: {
    50: '#b0aaf2',
    500: '#8a88ec',
    950: '#000000',
  },
}
SCSS
$custom: #8a88ec;
$custom-light: #b0aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a88ec",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 241.2,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.6722,
    "c": 0.1456,
    "h": 282.7
  },
  "luminance": 0.29068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8A88EC

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

Preview Lab → · Contrast checker → · Palette generator →

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