#888EF6#888EF6

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

Color values

HEX#888EF6
RGBrgb(136, 142, 246)
HSLhsl(237, 86%, 75%)
HSVhsv(237, 45%, 96%)
CMYKcmyk(44.7%, 42.3%, 0%, 3.5%)
CIE-LABlab(62.70, 24.05, -52.89)
CIE-LCHlch(62.70, 58.10, 294.45°)
OKLaboklab(68.77% 0.024 -0.1496)
OKLCHoklch(68.77% 0.152 279.1)
XYZxyz(36.4559, 31.2323, 91.2784)
Luminance0.3123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#888EF6 #F6F088
analogous
#88C5F6 #888EF6 #B988F6
triadic
#888EF6 #F6888E #8EF688
tetradic
#888EF6 #F688C5 #F6F088 #88F6B9
square
#888EF6 #F688C5 #F6F088 #88F6B9
split-complementary
#888EF6 #F6B988 #C5F688
monochromatic
#1622ED #4F58F2 #888EF6 #C1C4FA #E3E4FD

Accessibility & contrast

On white

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

On black

7.25
#888EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #888EF6
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##888EF6#FFFFFF#000000##000000
##888EF61.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CFA
Deuteranopia (green-blind)
#5E94F4
Tritanopia (blue-blind)
#63A3B6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #888ef6;
/* rgb */ color: rgb(136, 142, 246);
/* oklch */ color: oklch(68.8% 0.151 279.1);
Tailwind
colors: {
  custom: {
    50: '#b0aff9',
    500: '#888ef6',
    950: '#000000',
  },
}
SCSS
$custom: #888ef6;
$custom-light: #b0aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#888ef6",
  "rgb": {
    "r": 136,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 236.727,
    "s": 85.938,
    "l": 74.902
  },
  "oklch": {
    "l": 0.68769,
    "c": 0.1515,
    "h": 279.1
  },
  "luminance": 0.31234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #888EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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