#888EF5#888EF5

#888EF5 is a light, vivid blue. Relative luminance 0.312; OKLCH L 68.7% C 0.150 H 279.1°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#888EF5
RGBrgb(136, 142, 245)
HSLhsl(237, 84%, 75%)
HSVhsv(237, 44%, 96%)
CMYKcmyk(44.5%, 42%, 0%, 3.9%)
CIE-LABlab(62.65, 23.76, -52.42)
CIE-LCHlch(62.65, 57.55, 294.38°)
OKLaboklab(68.71% 0.0239 -0.1482)
OKLCHoklch(68.71% 0.15 279.1)
XYZxyz(36.3028, 31.1710, 90.4723)
Luminance0.3117 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888EF5 #F5EF88
analogous
#88C5F5 #888EF5 #B888F5
triadic
#888EF5 #F5888E #8EF588
tetradic
#888EF5 #F588C5 #F5EF88 #88F5B8
square
#888EF5 #F588C5 #F5EF88 #88F5B8
split-complementary
#888EF5 #F5B888 #C5F588
monochromatic
#1723EC #5058F0 #888EF5 #C0C4FA #E3E4FD

Accessibility & contrast

On white

2.90
#888EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#888EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888EF5
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888EF5#FFFFFF#000000##000000
##888EF51.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#679CF9
Deuteranopia (green-blind)
#5F94F3
Tritanopia (blue-blind)
#63A3B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #888ef5;
/* rgb */ color: rgb(136, 142, 245);
/* oklch */ color: oklch(68.7% 0.150 279.1);
Tailwind
colors: {
  custom: {
    50: '#b0aff9',
    500: '#888ef5',
    950: '#000000',
  },
}
SCSS
$custom: #888ef5;
$custom-light: #b0aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#888ef5",
  "rgb": {
    "r": 136,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 236.697,
    "s": 84.496,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68713,
    "c": 0.15013,
    "h": 279.1
  },
  "luminance": 0.31173
}

Semantic roles & 50–950 ramp

primary
#888EF5
secondary
#F5F3D6
accent
#D505E1
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#111017
muted
#807F85

Preview Lab

Preview with #888EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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