#B87FCD#B87FCD

#B87FCD is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.2% C 0.127 H 316.6°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#B87FCD
RGBrgb(184, 127, 205)
HSLhsl(284, 44%, 65%)
HSVhsv(284, 38%, 80%)
CMYKcmyk(10.2%, 38%, 0%, 19.6%)
CIE-LABlab(61.46, 35.66, -31.74)
CIE-LCHlch(61.46, 47.74, 318.33°)
OKLaboklab(68.21% 0.0923 -0.0873)
OKLCHoklch(68.21% 0.127 316.6)
XYZxyz(38.3744, 29.7778, 61.4720)
Luminance0.2978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FCD #94CD7F
analogous
#917FCD #B87FCD #CD7FBB
triadic
#B87FCD #CDB87F #7FCDB8
tetradic
#B87FCD #CD917F #94CD7F #7FBBCD
square
#B87FCD #CD917F #94CD7F #7FBBCD
split-complementary
#B87FCD #BBCD7F #7FCD91
monochromatic
#7E3B97 #A053BC #B87FCD #D0ABDE #E9D7EF

Accessibility & contrast

On white

3.02
#B87FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#B87FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87FCD
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FCD#FFFFFF#000000##000000
##B87FCD1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7391D0
Deuteranopia (green-blind)
#8196CB
Tritanopia (blue-blind)
#B7899C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b87fcd;
/* rgb */ color: rgb(184, 127, 205);
/* oklch */ color: oklch(68.2% 0.127 316.6);
Tailwind
colors: {
  custom: {
    50: '#cea5dc',
    500: '#b87fcd',
    950: '#000000',
  },
}
SCSS
$custom: #b87fcd;
$custom-light: #cea5dc;
$custom-dark: #000000;
JSON
{
  "hex": "#b87fcd",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 283.846,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68212,
    "c": 0.12707,
    "h": 316.6
  },
  "luminance": 0.29777
}

Semantic roles & 50–950 ramp

primary
#B87FCD
secondary
#CEE1C7
accent
#B72F53
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #B87FCD

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

Preview Lab → · Contrast checker → · Palette generator →

#B87FCD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva