#888DF7#888DF7

#888DF7 is a light, vivid blue. Relative luminance 0.310; OKLCH L 68.6% C 0.154 H 279.5°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#888DF7
RGBrgb(136, 141, 247)
HSLhsl(237, 87%, 75%)
HSVhsv(237, 45%, 97%)
CMYKcmyk(44.9%, 42.9%, 0%, 3.1%)
CIE-LABlab(62.51, 24.92, -53.75)
CIE-LCHlch(62.51, 59.24, 294.87°)
OKLaboklab(68.64% 0.0254 -0.1521)
OKLCHoklch(68.64% 0.154 279.5)
XYZxyz(36.4617, 30.9976, 92.0396)
Luminance0.3100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888DF7 #F7F288
analogous
#88C5F7 #888DF7 #BA88F7
triadic
#888DF7 #F7888D #8DF788
tetradic
#888DF7 #F788C5 #F7F288 #88F7BA
square
#888DF7 #F788C5 #F7F288 #88F7BA
split-complementary
#888DF7 #F7BA88 #C5F788
monochromatic
#151FEF #4F56F3 #888DF7 #C1C4FB #E2E4FD

Accessibility & contrast

On white

2.92
#888DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#888DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888DF7
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888DF7#FFFFFF#000000##000000
##888DF71.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BFB
Deuteranopia (green-blind)
#5C93F5
Tritanopia (blue-blind)
#62A3B6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #888df7;
/* rgb */ color: rgb(136, 141, 247);
/* oklch */ color: oklch(68.6% 0.154 279.5);
Tailwind
colors: {
  custom: {
    50: '#b0aefa',
    500: '#888df7',
    950: '#000000',
  },
}
SCSS
$custom: #888df7;
$custom-light: #b0aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#888df7",
  "rgb": {
    "r": 136,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 237.297,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.68635,
    "c": 0.15422,
    "h": 279.5
  },
  "luminance": 0.30999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #888DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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