#887AFA#887AFA

#887AFA is a light, vivid blue. Relative luminance 0.261; OKLCH L 65.4% C 0.184 H 285.1°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#887AFA
RGBrgb(136, 122, 250)
HSLhsl(247, 93%, 73%)
HSVhsv(247, 51%, 98%)
CMYKcmyk(45.6%, 51.2%, 0%, 2%)
CIE-LABlab(58.09, 36.85, -62.46)
CIE-LCHlch(58.09, 72.52, 300.54°)
OKLaboklab(65.36% 0.0479 -0.1778)
OKLCHoklch(65.36% 0.184 285.1)
XYZxyz(34.3631, 26.0539, 93.6422)
Luminance0.2606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#887AFA #ECFA7A
analogous
#7AACFA #887AFA #C87AFA
triadic
#887AFA #FA887A #7AFA88
tetradic
#887AFA #FA7AAC #ECFA7A #7AFAC8
square
#887AFA #FA7AAC #ECFA7A #7AFAC8
split-complementary
#887AFA #FAC87A #ACFA7A
monochromatic
#2209F1 #533FF8 #887AFA #BDB5FC #E5E2FE

Accessibility & contrast

On white

3.38
#887AFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#887AFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #887AFA
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##887AFA#FFFFFF#000000##000000
##887AFA1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8FFE
Deuteranopia (green-blind)
#3888F7
Tritanopia (blue-blind)
#6296AF
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #887afa;
/* rgb */ color: rgb(136, 122, 250);
/* oklch */ color: oklch(65.4% 0.184 285.1);
Tailwind
colors: {
  custom: {
    50: '#b1a0fd',
    500: '#887afa',
    950: '#000000',
  },
}
SCSS
$custom: #887afa;
$custom-light: #b1a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#887afa",
  "rgb": {
    "r": 136,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 246.563,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.65356,
    "c": 0.18409,
    "h": 285.1
  },
  "luminance": 0.26055
}

Semantic roles & 50–950 ramp

primary
#887AFA
secondary
#F2F6D5
accent
#E600CC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110F18
muted
#807E86

Preview Lab

Preview with #887AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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