#887DFD#887DFD

#887DFD is a light, vivid blue. Relative luminance 0.270; OKLCH L 66.1% C 0.184 H 284.0°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#887DFD
RGBrgb(136, 125, 253)
HSLhsl(245, 97%, 74%)
HSVhsv(245, 51%, 99%)
CMYKcmyk(46.2%, 50.6%, 0%, 0.8%)
CIE-LABlab(58.97, 35.97, -62.70)
CIE-LCHlch(58.97, 72.29, 299.84°)
OKLaboklab(66.07% 0.0447 -0.1785)
OKLCHoklch(66.07% 0.184 284)
XYZxyz(35.2113, 26.9917, 96.2641)
Luminance0.2699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887DFD #F2FD7D
analogous
#7DB2FD #887DFD #C87DFD
triadic
#887DFD #FD887D #7DFD88
tetradic
#887DFD #FD7DB2 #F2FD7D #7DFDC8
square
#887DFD #FD7DB2 #F2FD7D #7DFDC8
split-complementary
#887DFD #FDC87D #B2FD7D
monochromatic
#1A04FB #5141FC #887DFD #BFB9FE #E3E1FF

Accessibility & contrast

On white

3.28
#887DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#887DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887DFD
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887DFD#FFFFFF#000000##000000
##887DFD1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4192FF
Deuteranopia (green-blind)
#3A8AFA
Tritanopia (blue-blind)
#6099B1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #887dfd;
/* rgb */ color: rgb(136, 125, 253);
/* oklch */ color: oklch(66.1% 0.184 284.0);
Tailwind
colors: {
  custom: {
    50: '#b1a3ff',
    500: '#887dfd',
    950: '#000000',
  },
}
SCSS
$custom: #887dfd;
$custom-light: #b1a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#887dfd",
  "rgb": {
    "r": 136,
    "g": 125,
    "b": 253
  },
  "hsl": {
    "h": 245.156,
    "s": 96.97,
    "l": 74.118
  },
  "oklch": {
    "l": 0.66071,
    "c": 0.18396,
    "h": 284
  },
  "luminance": 0.26993
}

Semantic roles & 50–950 ramp

primary
#887DFD
secondary
#F4F7D4
accent
#E600D2
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F18
muted
#807F86

Preview Lab

Preview with #887DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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