#888FE4#888FE4

#888FE4 is a light, vivid blue. Relative luminance 0.305; OKLCH L 68.0% C 0.125 H 278.9°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#888FE4
RGBrgb(136, 143, 228)
HSLhsl(235, 63%, 71%)
HSVhsv(235, 40%, 89%)
CMYKcmyk(40.4%, 37.3%, 0%, 10.6%)
CIE-LABlab(62.07, 18.36, -43.96)
CIE-LCHlch(62.07, 47.64, 292.67°)
OKLaboklab(67.99% 0.0194 -0.1235)
OKLCHoklch(67.99% 0.125 278.9)
XYZxyz(33.9753, 30.4791, 77.4766)
Luminance0.3048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888FE4 #E4DD88
analogous
#88BDE4 #888FE4 #AF88E4
triadic
#888FE4 #E4888F #8FE488
tetradic
#888FE4 #E488BD #E4DD88 #88E4AF
square
#888FE4 #E488BD #E4DD88 #88E4AF
split-complementary
#888FE4 #E4AF88 #BDE488
monochromatic
#2D38C5 #5660D9 #888FE4 #BABEEF #E6E8F9

Accessibility & contrast

On white

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

On black

7.10
#888FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888FE4
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888FE4#FFFFFF#000000##000000
##888FE41.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#729AE7
Deuteranopia (green-blind)
#6C93E2
Tritanopia (blue-blind)
#6CA0AF
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #888fe4;
/* rgb */ color: rgb(136, 143, 228);
/* oklch */ color: oklch(68.0% 0.125 278.9);
Tailwind
colors: {
  custom: {
    50: '#aeafed',
    500: '#888fe4',
    950: '#000000',
  },
}
SCSS
$custom: #888fe4;
$custom-light: #aeafed;
$custom-dark: #000000;
JSON
{
  "hex": "#888fe4",
  "rgb": {
    "r": 136,
    "g": 143,
    "b": 228
  },
  "hsl": {
    "h": 235.435,
    "s": 63.014,
    "l": 71.373
  },
  "oklch": {
    "l": 0.6799,
    "c": 0.12506,
    "h": 278.9
  },
  "luminance": 0.30481
}

Semantic roles & 50–950 ramp

primary
#888FE4
secondary
#F0EED8
accent
#BD1BCB
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84

Preview Lab

Preview with #888FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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