#B87CD2#B87CD2

#B87CD2 is a light, vivid purple. Relative luminance 0.293; OKLCH L 67.9% C 0.138 H 315.1°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#B87CD2
RGBrgb(184, 124, 210)
HSLhsl(282, 49%, 65%)
HSVhsv(282, 41%, 82%)
CMYKcmyk(12.4%, 41%, 0%, 17.6%)
CIE-LABlab(61.01, 38.35, -35.26)
CIE-LCHlch(61.01, 52.09, 317.41°)
OKLaboklab(67.94% 0.0978 -0.0974)
OKLCHoklch(67.94% 0.138 315.1)
XYZxyz(38.6059, 29.2597, 64.5743)
Luminance0.2926 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B87CD2 #96D27C
analogous
#8D7CD2 #B87CD2 #D27CC1
triadic
#B87CD2 #D2B87C #7CD2B8
tetradic
#B87CD2 #D28D7C #96D27C #7CC1D2
square
#B87CD2 #D28D7C #96D27C #7CC1D2
split-complementary
#B87CD2 #C1D27C #7CD28D
monochromatic
#7E369D #9F4EC2 #B87CD2 #D1AAE2 #E9D7F1

Accessibility & contrast

On white

3.06
#B87CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#B87CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B87CD2
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B87CD2#FFFFFF#000000##000000
##B87CD21.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D90D5
Deuteranopia (green-blind)
#7C95D0
Tritanopia (blue-blind)
#B7889D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b87cd2;
/* rgb */ color: rgb(184, 124, 210);
/* oklch */ color: oklch(67.9% 0.138 315.1);
Tailwind
colors: {
  custom: {
    50: '#cfa3e0',
    500: '#b87cd2',
    950: '#000000',
  },
}
SCSS
$custom: #b87cd2;
$custom-light: #cfa3e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b87cd2",
  "rgb": {
    "r": 184,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 281.86,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67942,
    "c": 0.13796,
    "h": 315.1
  },
  "luminance": 0.29259
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B87CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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