#888EFD#888EFD

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

Color values

HEX#888EFD
RGBrgb(136, 142, 253)
HSLhsl(237, 97%, 76%)
HSVhsv(237, 46%, 99%)
CMYKcmyk(46.2%, 43.9%, 0%, 0.8%)
CIE-LABlab(63.07, 26.07, -56.14)
CIE-LCHlch(63.07, 61.90, 294.91°)
OKLaboklab(69.17% 0.0251 -0.1591)
OKLCHoklch(69.17% 0.161 279)
XYZxyz(37.5506, 31.6701, 97.0438)
Luminance0.3167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888EFD #FDF788
analogous
#88C9FD #888EFD #BD88FD
triadic
#888EFD #FD888E #8EFD88
tetradic
#888EFD #FD88C9 #FDF788 #88FDBD
square
#888EFD #FD88C9 #FDF788 #88FDBD
split-complementary
#888EFD #FDBD88 #C9FD88
monochromatic
#101CFB #4C55FC #888EFD #C4C7FE #E1E2FE

Accessibility & contrast

On white

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

On black

7.33
#888EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888EFD
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888EFD#FFFFFF#000000##000000
##888EFD1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#5994FB
Tritanopia (blue-blind)
#5EA5B9
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #888efd;
/* rgb */ color: rgb(136, 142, 253);
/* oklch */ color: oklch(69.2% 0.161 279.0);
Tailwind
colors: {
  custom: {
    50: '#b0affe',
    500: '#888efd',
    950: '#000000',
  },
}
SCSS
$custom: #888efd;
$custom-light: #b0affe;
$custom-dark: #000000;
JSON
{
  "hex": "#888efd",
  "rgb": {
    "r": 136,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 236.923,
    "s": 96.694,
    "l": 76.275
  },
  "oklch": {
    "l": 0.69166,
    "c": 0.1611,
    "h": 279
  },
  "luminance": 0.31672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #888EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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