#887DF5#887DF5

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

Color values

HEX#887DF5
RGBrgb(136, 125, 245)
HSLhsl(246, 86%, 73%)
HSVhsv(246, 49%, 96%)
CMYKcmyk(44.5%, 49%, 0%, 3.9%)
CIE-LABlab(58.50, 33.68, -59.03)
CIE-LCHlch(58.50, 67.96, 299.71°)
OKLaboklab(65.57% 0.044 -0.1677)
OKLCHoklch(65.57% 0.173 284.7)
XYZxyz(33.9636, 26.4926, 89.6925)
Luminance0.2649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887DF5 #EAF57D
analogous
#7DAEF5 #887DF5 #C47DF5
triadic
#887DF5 #F5887D #7DF588
tetradic
#887DF5 #F57DAE #EAF57D #7DF5C4
square
#887DF5 #F57DAE #EAF57D #7DF5C4
split-complementary
#887DF5 #F5C47D #AEF57D
monochromatic
#2512E6 #5444F1 #887DF5 #BCB6F9 #E5E3FD

Accessibility & contrast

On white

3.33
#887DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#887DF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887DF5
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887DF5#FFFFFF#000000##000000
##887DF51.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4990F9
Deuteranopia (green-blind)
#4589F2
Tritanopia (blue-blind)
#6596AD
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #887df5;
/* rgb */ color: rgb(136, 125, 245);
/* oklch */ color: oklch(65.6% 0.173 284.7);
Tailwind
colors: {
  custom: {
    50: '#b0a2f9',
    500: '#887df5',
    950: '#000000',
  },
}
SCSS
$custom: #887df5;
$custom-light: #b0a2f9;
$custom-dark: #000000;
JSON
{
  "hex": "#887df5",
  "rgb": {
    "r": 136,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 245.5,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.65572,
    "c": 0.17336,
    "h": 284.7
  },
  "luminance": 0.26494
}

Semantic roles & 50–950 ramp

primary
#887DF5
secondary
#F2F5D6
accent
#E203CE
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85

Preview Lab

Preview with #887DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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