#B787BD#B787BD

#B787BD is a light, moderate purple. Relative luminance 0.311; OKLCH L 68.8% C 0.094 H 322.7°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#B787BD
RGBrgb(183, 135, 189)
HSLhsl(293, 29%, 64%)
HSVhsv(293, 29%, 74%)
CMYKcmyk(3.2%, 28.6%, 0%, 25.9%)
CIE-LABlab(62.57, 27.67, -21.03)
CIE-LCHlch(62.57, 34.75, 322.76°)
OKLaboklab(68.82% 0.075 -0.057)
OKLCHoklch(68.82% 0.094 322.7)
XYZxyz(37.3766, 31.0704, 52.1625)
Luminance0.3107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B787BD #8DBD87
analogous
#9C87BD #B787BD #BD87A8
triadic
#B787BD #BDB787 #87BDB7
tetradic
#B787BD #BD9C87 #8DBD87 #87A8BD
square
#B787BD #BD9C87 #8DBD87 #87A8BD
split-complementary
#B787BD #A8BD87 #87BD9C
monochromatic
#7C4882 #9F60A7 #B787BD #CFAED3 #E6D6E8

Accessibility & contrast

On white

2.91
#B787BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#B787BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B787BD
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B787BD#FFFFFF#000000##000000
##B787BD1.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8294BF
Deuteranopia (green-blind)
#8D99BB
Tritanopia (blue-blind)
#B98C9A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b787bd;
/* rgb */ color: rgb(183, 135, 189);
/* oklch */ color: oklch(68.8% 0.094 322.7);
Tailwind
colors: {
  custom: {
    50: '#cdaad1',
    500: '#b787bd',
    950: '#000000',
  },
}
SCSS
$custom: #b787bd;
$custom-light: #cdaad1;
$custom-dark: #000000;
JSON
{
  "hex": "#b787bd",
  "rgb": {
    "r": 183,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 293.333,
    "s": 29.032,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6882,
    "c": 0.09422,
    "h": 322.7
  },
  "luminance": 0.31069
}

Semantic roles & 50–950 ramp

primary
#B787BD
secondary
#C8D9C6
accent
#A83E4A
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #B787BD

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

Preview Lab → · Contrast checker → · Palette generator →

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