#888AFE#888AFE

#888AFE is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.5% C 0.168 H 280.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#888AFE
RGBrgb(136, 138, 254)
HSLhsl(239, 98%, 76%)
HSVhsv(239, 46%, 100%)
CMYKcmyk(46.5%, 45.7%, 0%, 0.4%)
CIE-LABlab(62.14, 28.69, -58.18)
CIE-LCHlch(62.14, 64.87, 296.25°)
OKLaboklab(68.48% 0.0299 -0.1651)
OKLCHoklch(68.48% 0.168 280.3)
XYZxyz(37.1258, 30.5651, 97.6901)
Luminance0.3057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888AFE #FEFC88
analogous
#88C5FE #888AFE #C188FE
triadic
#888AFE #FE888A #8AFE88
tetradic
#888AFE #FE88C5 #FEFC88 #88FEC1
square
#888AFE #FE88C5 #FEFC88 #88FEC1
split-complementary
#888AFE #FEC188 #C5FE88
monochromatic
#0F13FD #4B4EFD #888AFE #C5C6FF #E1E1FF

Accessibility & contrast

On white

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

On black

7.11
#888AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888AFE
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888AFE#FFFFFF#000000##000000
##888AFE1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#5192FB
Tritanopia (blue-blind)
#5EA2B8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #888afe;
/* rgb */ color: rgb(136, 138, 254);
/* oklch */ color: oklch(68.5% 0.168 280.3);
Tailwind
colors: {
  custom: {
    50: '#b1acff',
    500: '#888afe',
    950: '#000000',
  },
}
SCSS
$custom: #888afe;
$custom-light: #b1acff;
$custom-dark: #000000;
JSON
{
  "hex": "#888afe",
  "rgb": {
    "r": 136,
    "g": 138,
    "b": 254
  },
  "hsl": {
    "h": 238.983,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.68478,
    "c": 0.16778,
    "h": 280.3
  },
  "luminance": 0.30567
}

Semantic roles & 50–950 ramp

primary
#888AFE
secondary
#F7F6D4
accent
#E200E6
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111018
muted
#807F86

Preview Lab

Preview with #888AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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