#888EF8#888EF8

#888EF8 is a light, vivid blue. Relative luminance 0.314; OKLCH L 68.9% C 0.154 H 279.1°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#888EF8
RGBrgb(136, 142, 248)
HSLhsl(237, 89%, 75%)
HSVhsv(237, 45%, 97%)
CMYKcmyk(45.2%, 42.7%, 0%, 2.7%)
CIE-LABlab(62.81, 24.62, -53.82)
CIE-LCHlch(62.81, 59.19, 294.58°)
OKLaboklab(68.88% 0.0243 -0.1523)
OKLCHoklch(68.88% 0.154 279.1)
XYZxyz(36.7645, 31.3557, 92.9038)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888EF8 #F8F288
analogous
#88C6F8 #888EF8 #BA88F8
triadic
#888EF8 #F8888E #8EF888
tetradic
#888EF8 #F888C6 #F8F288 #88F8BA
square
#888EF8 #F888C6 #F8F288 #88F8BA
split-complementary
#888EF8 #F8BA88 #C6F888
monochromatic
#1420F1 #4E57F5 #888EF8 #C2C5FB #E2E4FD

Accessibility & contrast

On white

2.89
#888EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#888EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888EF8
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888EF8#FFFFFF#000000##000000
##888EF81.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFC
Deuteranopia (green-blind)
#5D94F6
Tritanopia (blue-blind)
#61A4B7
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #888ef8;
/* rgb */ color: rgb(136, 142, 248);
/* oklch */ color: oklch(68.9% 0.154 279.1);
Tailwind
colors: {
  custom: {
    50: '#b0affb',
    500: '#888ef8',
    950: '#000000',
  },
}
SCSS
$custom: #888ef8;
$custom-light: #b0affb;
$custom-dark: #000000;
JSON
{
  "hex": "#888ef8",
  "rgb": {
    "r": 136,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 236.786,
    "s": 88.889,
    "l": 75.294
  },
  "oklch": {
    "l": 0.68881,
    "c": 0.15425,
    "h": 279.1
  },
  "luminance": 0.31358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #888EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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