#B87BD2#B87BD2

#B87BD2 is a light, vivid purple. Relative luminance 0.290; OKLCH L 67.8% C 0.140 H 315.3°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#B87BD2
RGBrgb(184, 123, 210)
HSLhsl(282, 49%, 65%)
HSVhsv(282, 41%, 82%)
CMYKcmyk(12.4%, 41.4%, 0%, 17.6%)
CIE-LABlab(60.79, 38.90, -35.60)
CIE-LCHlch(60.79, 52.73, 317.53°)
OKLaboklab(67.78% 0.0992 -0.0983)
OKLCHoklch(67.78% 0.14 315.3)
XYZxyz(38.4812, 29.0103, 64.5327)
Luminance0.2901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87BD2 #95D27B
analogous
#8C7BD2 #B87BD2 #D27BC0
triadic
#B87BD2 #D2B87B #7BD2B8
tetradic
#B87BD2 #D28C7B #95D27B #7BC0D2
square
#B87BD2 #D28C7B #95D27B #7BC0D2
split-complementary
#B87BD2 #C0D27B #7BD28C
monochromatic
#7E369D #9F4DC2 #B87BD2 #D1A9E2 #E9D6F1

Accessibility & contrast

On white

3.09
#B87BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#B87BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87BD2
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87BD2#FFFFFF#000000##000000
##B87BD21.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8FD5
Deuteranopia (green-blind)
#7B94CF
Tritanopia (blue-blind)
#B7879D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b87bd2;
/* rgb */ color: rgb(184, 123, 210);
/* oklch */ color: oklch(67.8% 0.140 315.3);
Tailwind
colors: {
  custom: {
    50: '#cfa2e0',
    500: '#b87bd2',
    950: '#000000',
  },
}
SCSS
$custom: #b87bd2;
$custom-light: #cfa2e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b87bd2",
  "rgb": {
    "r": 184,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 282.069,
    "s": 49.153,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67777,
    "c": 0.13968,
    "h": 315.3
  },
  "luminance": 0.29009
}

Semantic roles & 50–950 ramp

primary
#B87BD2
secondary
#CFE3C6
accent
#BC2955
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#140F15
muted
#827F83

Preview Lab

Preview with #B87BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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