#B87FCF#B87FCF

#B87FCF is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.3% C 0.129 H 315.8°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#B87FCF
RGBrgb(184, 127, 207)
HSLhsl(283, 45%, 65%)
HSVhsv(283, 39%, 81%)
CMYKcmyk(11.1%, 38.6%, 0%, 18.8%)
CIE-LABlab(61.55, 36.08, -32.74)
CIE-LCHlch(61.55, 48.72, 317.78°)
OKLaboklab(68.3% 0.0928 -0.0901)
OKLCHoklch(68.3% 0.129 315.8)
XYZxyz(38.6173, 29.8750, 62.7515)
Luminance0.2987 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87FCF #96CF7F
analogous
#907FCF #B87FCF #CF7FBE
triadic
#B87FCF #CFB87F #7FCFB8
tetradic
#B87FCF #CF907F #96CF7F #7FBECF
square
#B87FCF #CF907F #96CF7F #7FBECF
split-complementary
#B87FCF #BECF7F #7FCF90
monochromatic
#7E3A9A #9F52BE #B87FCF #D1ACE0 #E9D8F0

Accessibility & contrast

On white

3.01
#B87FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#B87FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87FCF
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87FCF#FFFFFF#000000##000000
##B87FCF1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7291D2
Deuteranopia (green-blind)
#8096CD
Tritanopia (blue-blind)
#B7899D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b87fcf;
/* rgb */ color: rgb(184, 127, 207);
/* oklch */ color: oklch(68.3% 0.129 315.8);
Tailwind
colors: {
  custom: {
    50: '#cea5de',
    500: '#b87fcf',
    950: '#000000',
  },
}
SCSS
$custom: #b87fcf;
$custom-light: #cea5de;
$custom-dark: #000000;
JSON
{
  "hex": "#b87fcf",
  "rgb": {
    "r": 184,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 282.75,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.68304,
    "c": 0.12934,
    "h": 315.8
  },
  "luminance": 0.29874
}

Semantic roles & 50–950 ramp

primary
#B87FCF
secondary
#CFE2C8
accent
#B92D55
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #B87FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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