#B87DCA#B87DCA

#B87DCA is a light, vivid purple. Relative luminance 0.291; OKLCH L 67.7% C 0.127 H 318.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#B87DCA
RGBrgb(184, 125, 202)
HSLhsl(286, 42%, 64%)
HSVhsv(286, 38%, 79%)
CMYKcmyk(8.9%, 38.1%, 0%, 20.8%)
CIE-LABlab(60.89, 36.14, -30.94)
CIE-LCHlch(60.89, 47.58, 319.43°)
OKLaboklab(67.74% 0.0946 -0.085)
OKLCHoklch(67.74% 0.127 318.1)
XYZxyz(37.7600, 29.1229, 59.4978)
Luminance0.2912 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87DCA #8FCA7D
analogous
#927DCA #B87DCA #CA7DB6
triadic
#B87DCA #CAB87D #7DCAB8
tetradic
#B87DCA #CA927D #8FCA7D #7DB6CA
square
#B87DCA #CA927D #8FCA7D #7DB6CA
split-complementary
#B87DCA #B6CA7D #7DCA92
monochromatic
#7D3B91 #A052B8 #B87DCA #D0A8DC #E7D4ED

Accessibility & contrast

On white

3.08
#B87DCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#B87DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87DCA
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87DCA#FFFFFF#000000##000000
##B87DCA1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#728FCD
Deuteranopia (green-blind)
#8195C8
Tritanopia (blue-blind)
#B8879A
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b87dca;
/* rgb */ color: rgb(184, 125, 202);
/* oklch */ color: oklch(67.7% 0.127 318.1);
Tailwind
colors: {
  custom: {
    50: '#cea3da',
    500: '#b87dca',
    950: '#000000',
  },
}
SCSS
$custom: #b87dca;
$custom-light: #cea3da;
$custom-dark: #000000;
JSON
{
  "hex": "#b87dca",
  "rgb": {
    "r": 184,
    "g": 125,
    "b": 202
  },
  "hsl": {
    "h": 285.974,
    "s": 42.077,
    "l": 64.118
  },
  "oklch": {
    "l": 0.6774,
    "c": 0.12719,
    "h": 318.1
  },
  "luminance": 0.29122
}

Semantic roles & 50–950 ramp

primary
#B87DCA
secondary
#CADFC4
accent
#B5304F
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#140F15
muted
#827F83

Preview Lab

Preview with #B87DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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