#888EFE#888EFE

#888EFE is a light, vivid blue. Relative luminance 0.317; OKLCH L 69.2% C 0.162 H 278.9°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#888EFE
RGBrgb(136, 142, 254)
HSLhsl(237, 98%, 76%)
HSVhsv(237, 46%, 100%)
CMYKcmyk(46.5%, 44.1%, 0%, 0.4%)
CIE-LABlab(63.12, 26.36, -56.61)
CIE-LCHlch(63.12, 62.44, 294.97°)
OKLaboklab(69.22% 0.0252 -0.1605)
OKLCHoklch(69.22% 0.162 278.9)
XYZxyz(37.7103, 31.7340, 97.8850)
Luminance0.3174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888EFE #FEF888
analogous
#88C9FE #888EFE #BD88FE
triadic
#888EFE #FE888E #8EFE88
tetradic
#888EFE #FE88C9 #FEF888 #88FEBD
square
#888EFE #FE88C9 #FEF888 #88FEBD
split-complementary
#888EFE #FEBD88 #C9FE88
monochromatic
#0F1BFD #4B54FD #888EFE #C5C8FF #E1E2FF

Accessibility & contrast

On white

2.86
#888EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#888EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888EFE
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888EFE#FFFFFF#000000##000000
##888EFE1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#5894FB
Tritanopia (blue-blind)
#5EA5BA
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #888efe;
/* rgb */ color: rgb(136, 142, 254);
/* oklch */ color: oklch(69.2% 0.162 278.9);
Tailwind
colors: {
  custom: {
    50: '#b1afff',
    500: '#888efe',
    950: '#000000',
  },
}
SCSS
$custom: #888efe;
$custom-light: #b1afff;
$custom-dark: #000000;
JSON
{
  "hex": "#888efe",
  "rgb": {
    "r": 136,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 236.949,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.69224,
    "c": 0.16245,
    "h": 278.9
  },
  "luminance": 0.31736
}

Semantic roles & 50–950 ramp

primary
#888EFE
secondary
#F7F5D4
accent
#DA00E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #888EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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