#B87BCA#B87BCA

#B87BCA is a light, vivid purple. Relative luminance 0.286; OKLCH L 67.4% C 0.131 H 318.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B87BCA
RGBrgb(184, 123, 202)
HSLhsl(286, 43%, 64%)
HSVhsv(286, 39%, 79%)
CMYKcmyk(8.9%, 39.1%, 0%, 20.8%)
CIE-LABlab(60.45, 37.24, -31.63)
CIE-LCHlch(60.45, 48.86, 319.66°)
OKLaboklab(67.41% 0.0976 -0.0869)
OKLCHoklch(67.41% 0.131 318.3)
XYZxyz(37.5093, 28.6216, 59.4143)
Luminance0.2862 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BCA #8DCA7B
analogous
#907BCA #B87BCA #CA7BB4
triadic
#B87BCA #CAB87B #7BCAB8
tetradic
#B87BCA #CA907B #8DCA7B #7BB4CA
square
#B87BCA #CA907B #8DCA7B #7BB4CA
split-complementary
#B87BCA #B4CA7B #7BCA90
monochromatic
#7D3A91 #A14FB8 #B87BCA #CFA7DC #E7D2ED

Accessibility & contrast

On white

3.12
#B87BCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#B87BCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87BCA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BCA#FFFFFF#000000##000000
##B87BCA1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F8ECD
Deuteranopia (green-blind)
#7F94C8
Tritanopia (blue-blind)
#B88599
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b87bca;
/* rgb */ color: rgb(184, 123, 202);
/* oklch */ color: oklch(67.4% 0.131 318.3);
Tailwind
colors: {
  custom: {
    50: '#cea2da',
    500: '#b87bca',
    950: '#000000',
  },
}
SCSS
$custom: #b87bca;
$custom-light: #cea2da;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bca",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 202
  },
  "hsl": {
    "h": 286.329,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67405,
    "c": 0.1307,
    "h": 318.3
  },
  "luminance": 0.28621
}

Semantic roles & 50–950 ramp

primary
#B87BCA
secondary
#C9DEC2
accent
#B6304E
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F15
muted
#827F83

Preview Lab

Preview with #B87BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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