#888DF5#888DF5

#888DF5 is a light, vivid blue. Relative luminance 0.309; OKLCH L 68.5% C 0.151 H 279.5°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#888DF5
RGBrgb(136, 141, 245)
HSLhsl(237, 84%, 75%)
HSVhsv(237, 44%, 96%)
CMYKcmyk(44.5%, 42.4%, 0%, 3.9%)
CIE-LABlab(62.40, 24.34, -52.82)
CIE-LCHlch(62.40, 58.15, 294.74°)
OKLaboklab(68.52% 0.0251 -0.1494)
OKLCHoklch(68.52% 0.151 279.5)
XYZxyz(36.1547, 30.8748, 90.4229)
Luminance0.3088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888DF5 #F5F088
analogous
#88C3F5 #888DF5 #BA88F5
triadic
#888DF5 #F5888D #8DF588
tetradic
#888DF5 #F588C3 #F5F088 #88F5BA
square
#888DF5 #F588C3 #F5F088 #88F5BA
split-complementary
#888DF5 #F5BA88 #C3F588
monochromatic
#1721EC #5057F0 #888DF5 #C0C3FA #E3E4FD

Accessibility & contrast

On white

2.93
#888DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#888DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888DF5
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888DF5#FFFFFF#000000##000000
##888DF51.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BF9
Deuteranopia (green-blind)
#5E93F3
Tritanopia (blue-blind)
#63A2B5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #888df5;
/* rgb */ color: rgb(136, 141, 245);
/* oklch */ color: oklch(68.5% 0.151 279.5);
Tailwind
colors: {
  custom: {
    50: '#b0aef9',
    500: '#888df5',
    950: '#000000',
  },
}
SCSS
$custom: #888df5;
$custom-light: #b0aef9;
$custom-dark: #000000;
JSON
{
  "hex": "#888df5",
  "rgb": {
    "r": 136,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 237.248,
    "s": 84.496,
    "l": 74.706
  },
  "oklch": {
    "l": 0.68522,
    "c": 0.15147,
    "h": 279.5
  },
  "luminance": 0.30877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #888DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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