#888BF5#888BF5

#888BF5 is a light, vivid blue. Relative luminance 0.303; OKLCH L 68.1% C 0.154 H 280.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#888BF5
RGBrgb(136, 139, 245)
HSLhsl(238, 84%, 75%)
HSVhsv(238, 44%, 96%)
CMYKcmyk(44.5%, 43.3%, 0%, 3.9%)
CIE-LABlab(61.90, 25.51, -53.61)
CIE-LCHlch(61.90, 59.37, 295.45°)
OKLaboklab(68.14% 0.0274 -0.1517)
OKLCHoklch(68.14% 0.154 280.3)
XYZxyz(35.8625, 30.2903, 90.3255)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888BF5 #F5F288
analogous
#88C1F5 #888BF5 #BC88F5
triadic
#888BF5 #F5888B #8BF588
tetradic
#888BF5 #F588C1 #F5F288 #88F5BC
square
#888BF5 #F588C1 #F5F288 #88F5BC
split-complementary
#888BF5 #F5BC88 #C1F588
monochromatic
#171DEC #5054F0 #888BF5 #C0C2FA #E3E3FD

Accessibility & contrast

On white

2.98
#888BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#888BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888BF5
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888BF5#FFFFFF#000000##000000
##888BF51.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AF9
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#63A1B4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #888bf5;
/* rgb */ color: rgb(136, 139, 245);
/* oklch */ color: oklch(68.1% 0.154 280.3);
Tailwind
colors: {
  custom: {
    50: '#b0acf9',
    500: '#888bf5',
    950: '#000000',
  },
}
SCSS
$custom: #888bf5;
$custom-light: #b0acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#888bf5",
  "rgb": {
    "r": 136,
    "g": 139,
    "b": 245
  },
  "hsl": {
    "h": 238.349,
    "s": 84.496,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68143,
    "c": 0.15417,
    "h": 280.3
  },
  "luminance": 0.30292
}

Semantic roles & 50–950 ramp

primary
#888BF5
secondary
#F5F4D6
accent
#DB05E1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #888BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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