#888DF8#888DF8

#888DF8 is a light, vivid blue. Relative luminance 0.311; OKLCH L 68.7% C 0.156 H 279.4°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#888DF8
RGBrgb(136, 141, 248)
HSLhsl(237, 89%, 75%)
HSVhsv(237, 45%, 97%)
CMYKcmyk(45.2%, 43.1%, 0%, 2.7%)
CIE-LABlab(62.56, 25.21, -54.22)
CIE-LCHlch(62.56, 59.79, 294.93°)
OKLaboklab(68.69% 0.0255 -0.1535)
OKLCHoklch(68.69% 0.156 279.4)
XYZxyz(36.6164, 31.0595, 92.8544)
Luminance0.3106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888DF8 #F8F388
analogous
#88C5F8 #888DF8 #BB88F8
triadic
#888DF8 #F8888D #8DF888
tetradic
#888DF8 #F888C5 #F8F388 #88F8BB
square
#888DF8 #F888C5 #F8F388 #88F8BB
split-complementary
#888DF8 #F8BB88 #C5F888
monochromatic
#141EF1 #4E56F5 #888DF8 #C2C4FB #E2E3FD

Accessibility & contrast

On white

2.91
#888DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#888DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888DF8
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888DF8#FFFFFF#000000##000000
##888DF81.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFC
Deuteranopia (green-blind)
#5B93F6
Tritanopia (blue-blind)
#62A3B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #888df8;
/* rgb */ color: rgb(136, 141, 248);
/* oklch */ color: oklch(68.7% 0.156 279.4);
Tailwind
colors: {
  custom: {
    50: '#b0aefb',
    500: '#888df8',
    950: '#000000',
  },
}
SCSS
$custom: #888df8;
$custom-light: #b0aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#888df8",
  "rgb": {
    "r": 136,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 237.321,
    "s": 88.889,
    "l": 75.294
  },
  "oklch": {
    "l": 0.68692,
    "c": 0.15559,
    "h": 279.4
  },
  "luminance": 0.31061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #888DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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