#888EEB#888EEB

#888EEB is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.2% C 0.136 H 279.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#888EEB
RGBrgb(136, 142, 235)
HSLhsl(236, 71%, 73%)
HSVhsv(236, 42%, 92%)
CMYKcmyk(42.1%, 39.6%, 0%, 7.8%)
CIE-LABlab(62.15, 20.91, -47.70)
CIE-LCHlch(62.15, 52.08, 293.67°)
OKLaboklab(68.16% 0.0221 -0.1344)
OKLCHoklch(68.16% 0.136 279.3)
XYZxyz(34.8173, 30.5768, 82.6485)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888EEB #EBE588
analogous
#88BFEB #888EEB #B488EB
triadic
#888EEB #EB888E #8EEB88
tetradic
#888EEB #EB88BF #EBE588 #88EBB4
square
#888EEB #EB88BF #EBE588 #88EBB4
split-complementary
#888EEB #EBB488 #BFEB88
monochromatic
#242ED5 #545CE2 #888EEB #BCC0F4 #E5E6FB

Accessibility & contrast

On white

2.95
#888EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#888EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888EEB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888EEB#FFFFFF#000000##000000
##888EEB1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9AEF
Deuteranopia (green-blind)
#6693E9
Tritanopia (blue-blind)
#68A1B1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #888eeb;
/* rgb */ color: rgb(136, 142, 235);
/* oklch */ color: oklch(68.2% 0.136 279.3);
Tailwind
colors: {
  custom: {
    50: '#afaef2',
    500: '#888eeb',
    950: '#000000',
  },
}
SCSS
$custom: #888eeb;
$custom-light: #afaef2;
$custom-dark: #000000;
JSON
{
  "hex": "#888eeb",
  "rgb": {
    "r": 136,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 236.364,
    "s": 71.223,
    "l": 72.745
  },
  "oklch": {
    "l": 0.68165,
    "c": 0.13624,
    "h": 279.3
  },
  "luminance": 0.30578
}

Semantic roles & 50–950 ramp

primary
#888EEB
secondary
#F2F1D9
accent
#C812D3
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111017
muted
#807F85

Preview Lab

Preview with #888EEB

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

Preview Lab → · Contrast checker → · Palette generator →

#888EEB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva