#887AF2#887AF2

#887AF2 is a light, vivid blue. Relative luminance 0.256; OKLCH L 64.9% C 0.174 H 285.8°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#887AF2
RGBrgb(136, 122, 242)
HSLhsl(247, 82%, 71%)
HSVhsv(247, 50%, 95%)
CMYKcmyk(43.8%, 49.6%, 0%, 5.1%)
CIE-LABlab(57.62, 34.57, -58.78)
CIE-LCHlch(57.62, 68.20, 300.46°)
OKLaboklab(64.85% 0.0473 -0.167)
OKLCHoklch(64.85% 0.174 285.8)
XYZxyz(33.1353, 25.5628, 87.1754)
Luminance0.2556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887AF2 #E4F27A
analogous
#7AA8F2 #887AF2 #C47AF2
triadic
#887AF2 #F2887A #7AF288
tetradic
#887AF2 #F27AA8 #E4F27A #7AF2C4
square
#887AF2 #F27AA8 #E4F27A #7AF2C4
split-complementary
#887AF2 #F2C47A #A8F27A
monochromatic
#2D16DC #5642ED #887AF2 #BAB2F7 #E6E3FC

Accessibility & contrast

On white

3.44
#887AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#887AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887AF2
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887AF2#FFFFFF#000000##000000
##887AF21.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#468EF6
Deuteranopia (green-blind)
#4387EF
Tritanopia (blue-blind)
#6793AB
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #887af2;
/* rgb */ color: rgb(136, 122, 242);
/* oklch */ color: oklch(64.9% 0.174 285.8);
Tailwind
colors: {
  custom: {
    50: '#b0a0f7',
    500: '#887af2',
    950: '#000000',
  },
}
SCSS
$custom: #887af2;
$custom-light: #b0a0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#887af2",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 242
  },
  "hsl": {
    "h": 247,
    "s": 82.192,
    "l": 71.373
  },
  "oklch": {
    "l": 0.64855,
    "c": 0.17353,
    "h": 285.8
  },
  "luminance": 0.25564
}

Semantic roles & 50–950 ramp

primary
#887AF2
secondary
#F0F3D4
accent
#DF07C5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F17
muted
#807E85

Preview Lab

Preview with #887AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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