#8A88EF#8A88EF

#8A88EF is a light, vivid blue. Relative luminance 0.292; OKLCH L 67.4% C 0.150 H 282.5°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#8A88EF
RGBrgb(138, 136, 239)
HSLhsl(241, 76%, 74%)
HSVhsv(241, 43%, 94%)
CMYKcmyk(42.3%, 43.1%, 0%, 6.3%)
CIE-LABlab(60.99, 26.03, -51.73)
CIE-LCHlch(60.99, 57.91, 296.71°)
OKLaboklab(67.39% 0.0324 -0.1462)
OKLCHoklch(67.39% 0.15 282.5)
XYZxyz(34.8608, 29.2421, 85.4521)
Luminance0.2924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A88EF #EDEF88
analogous
#88B9EF #8A88EF #BD88EF
triadic
#8A88EF #EF8A88 #88EF8A
tetradic
#8A88EF #EF88B9 #EDEF88 #88EFBD
square
#8A88EF #EF88B9 #EDEF88 #88EFBD
split-complementary
#8A88EF #EFBD88 #B9EF88
monochromatic
#221EDF #5552E8 #8A88EF #BFBEF6 #E4E4FB

Accessibility & contrast

On white

3.07
#8A88EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#8A88EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A88EF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A88EF#FFFFFF#000000##000000
##8A88EF1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#5D90ED
Tritanopia (blue-blind)
#6B9DB0
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8a88ef;
/* rgb */ color: rgb(138, 136, 239);
/* oklch */ color: oklch(67.4% 0.150 282.5);
Tailwind
colors: {
  custom: {
    50: '#b1aaf5',
    500: '#8a88ef',
    950: '#000000',
  },
}
SCSS
$custom: #8a88ef;
$custom-light: #b1aaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a88ef",
  "rgb": {
    "r": 138,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 241.165,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.67388,
    "c": 0.14973,
    "h": 282.5
  },
  "luminance": 0.29244
}

Semantic roles & 50–950 ramp

primary
#8A88EF
secondary
#F3F3D8
accent
#D80DD5
background
#FBFAFF
surface
#F6F4FE
border
#D0CED6
text
#111017
muted
#807F85

Preview Lab

Preview with #8A88EF

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

Preview Lab → · Contrast checker → · Palette generator →

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