#888BF7#888BF7

#888BF7 is a light, vivid blue. Relative luminance 0.304; OKLCH L 68.3% C 0.157 H 280.2°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#888BF7
RGBrgb(136, 139, 247)
HSLhsl(238, 87%, 75%)
HSVhsv(238, 45%, 97%)
CMYKcmyk(44.9%, 43.7%, 0%, 3.1%)
CIE-LABlab(62.01, 26.08, -54.54)
CIE-LCHlch(62.01, 60.46, 295.56°)
OKLaboklab(68.26% 0.0277 -0.1544)
OKLCHoklch(68.26% 0.157 280.2)
XYZxyz(36.1694, 30.4131, 91.9422)
Luminance0.3041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888BF7 #F7F488
analogous
#88C3F7 #888BF7 #BC88F7
triadic
#888BF7 #F7888B #8BF788
tetradic
#888BF7 #F788C3 #F7F488 #88F7BC
square
#888BF7 #F788C3 #F7F488 #88F7BC
split-complementary
#888BF7 #F7BC88 #C3F788
monochromatic
#151BEF #4F53F3 #888BF7 #C1C3FB #E2E3FD

Accessibility & contrast

On white

2.96
#888BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#888BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888BF7
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888BF7#FFFFFF#000000##000000
##888BF71.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFB
Deuteranopia (green-blind)
#5992F5
Tritanopia (blue-blind)
#62A1B5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #888bf7;
/* rgb */ color: rgb(136, 139, 247);
/* oklch */ color: oklch(68.3% 0.157 280.2);
Tailwind
colors: {
  custom: {
    50: '#b0acfa',
    500: '#888bf7',
    950: '#000000',
  },
}
SCSS
$custom: #888bf7;
$custom-light: #b0acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#888bf7",
  "rgb": {
    "r": 136,
    "g": 139,
    "b": 247
  },
  "hsl": {
    "h": 238.378,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.68257,
    "c": 0.15691,
    "h": 280.2
  },
  "luminance": 0.30415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #888BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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