#887DF2#887DF2

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

Color values

HEX#887DF2
RGBrgb(136, 125, 242)
HSLhsl(246, 82%, 72%)
HSVhsv(246, 48%, 95%)
CMYKcmyk(43.8%, 48.3%, 0%, 5.1%)
CIE-LABlab(58.33, 32.83, -57.64)
CIE-LCHlch(58.33, 66.34, 299.66°)
OKLaboklab(65.39% 0.0437 -0.1636)
OKLCHoklch(65.39% 0.169 285)
XYZxyz(33.5093, 26.3109, 87.3001)
Luminance0.2631 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887DF2 #E7F27D
analogous
#7DADF2 #887DF2 #C37DF2
triadic
#887DF2 #F2887D #7DF288
tetradic
#887DF2 #F27DAD #E7F27D #7DF2C3
square
#887DF2 #F27DAD #E7F27D #7DF2C3
split-complementary
#887DF2 #F2C37D #ADF27D
monochromatic
#2916DE #5545EC #887DF2 #BBB5F8 #E6E3FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##887DF2#FFFFFF#000000##000000
##887DF21.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)
#4C90F6
Deuteranopia (green-blind)
#4889EF
Tritanopia (blue-blind)
#6795AC
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #887df2;
/* rgb */ color: rgb(136, 125, 242);
/* oklch */ color: oklch(65.4% 0.169 285.0);
Tailwind
colors: {
  custom: {
    50: '#b0a2f7',
    500: '#887df2',
    950: '#000000',
  },
}
SCSS
$custom: #887df2;
$custom-light: #b0a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#887df2",
  "rgb": {
    "r": 136,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 245.641,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.65389,
    "c": 0.16936,
    "h": 285
  },
  "luminance": 0.26312
}

Semantic roles & 50–950 ramp

primary
#887DF2
secondary
#F1F4D7
accent
#DE07CA
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #887DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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