#887AFE#887AFE

#887AFE is a light, vivid blue. Relative luminance 0.263; OKLCH L 65.6% C 0.189 H 284.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#887AFE
RGBrgb(136, 122, 254)
HSLhsl(246, 99%, 74%)
HSVhsv(246, 52%, 100%)
CMYKcmyk(46.5%, 52%, 0%, 0.4%)
CIE-LABlab(58.33, 37.99, -64.28)
CIE-LCHlch(58.33, 74.67, 300.59°)
OKLaboklab(65.61% 0.0481 -0.1831)
OKLCHoklch(65.61% 0.189 284.7)
XYZxyz(34.9970, 26.3075, 96.9805)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887AFE #F0FE7A
analogous
#7AAEFE #887AFE #CA7AFE
triadic
#887AFE #FE887A #7AFE88
tetradic
#887AFE #FE7AAE #F0FE7A #7AFECA
square
#887AFE #FE7AAE #F0FE7A #7AFECA
split-complementary
#887AFE #FECA7A #AEFE7A
monochromatic
#1C02FC #523DFE #887AFE #BEB7FE #E4E1FF

Accessibility & contrast

On white

3.35
#887AFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#887AFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887AFE
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887AFE#FFFFFF#000000##000000
##887AFE1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3890FF
Deuteranopia (green-blind)
#3288FB
Tritanopia (blue-blind)
#6097B1
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #887afe;
/* rgb */ color: rgb(136, 122, 254);
/* oklch */ color: oklch(65.6% 0.189 284.7);
Tailwind
colors: {
  custom: {
    50: '#b1a0ff',
    500: '#887afe',
    950: '#000000',
  },
}
SCSS
$custom: #887afe;
$custom-light: #b1a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#887afe",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 246.364,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.65612,
    "c": 0.18932,
    "h": 284.7
  },
  "luminance": 0.26309
}

Semantic roles & 50–950 ramp

primary
#887AFE
secondary
#F3F7D4
accent
#E600CD
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #887AFE

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

Preview Lab → · Contrast checker → · Palette generator →

#887AFE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva