#B787BB#B787BB

#B787BB is a light, moderate purple. Relative luminance 0.310; OKLCH L 68.7% C 0.092 H 323.9°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#B787BB
RGBrgb(183, 135, 187)
HSLhsl(295, 28%, 63%)
HSVhsv(295, 28%, 73%)
CMYKcmyk(2.1%, 27.8%, 0%, 26.7%)
CIE-LABlab(62.49, 27.27, -20.01)
CIE-LCHlch(62.49, 33.83, 323.73°)
OKLaboklab(68.74% 0.0744 -0.0542)
OKLCHoklch(68.74% 0.092 323.9)
XYZxyz(37.1610, 30.9841, 51.0271)
Luminance0.3098 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B787BB #8BBB87
analogous
#9D87BB #B787BB #BB87A5
triadic
#B787BB #BBB787 #87BBB7
tetradic
#B787BB #BB9D87 #8BBB87 #87A5BB
square
#B787BB #BB9D87 #8BBB87 #87A5BB
split-complementary
#B787BB #A5BB87 #87BB9D
monochromatic
#7B487F #A060A5 #B787BB #CEAED1 #E6D5E7

Accessibility & contrast

On white

2.92
#B787BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#B787BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B787BB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B787BB#FFFFFF#000000##000000
##B787BB1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8394BD
Deuteranopia (green-blind)
#8E99B9
Tritanopia (blue-blind)
#B98C99
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b787bb;
/* rgb */ color: rgb(183, 135, 187);
/* oklch */ color: oklch(68.7% 0.092 323.9);
Tailwind
colors: {
  custom: {
    50: '#cdaacf',
    500: '#b787bb',
    950: '#000000',
  },
}
SCSS
$custom: #b787bb;
$custom-light: #cdaacf;
$custom-dark: #000000;
JSON
{
  "hex": "#b787bb",
  "rgb": {
    "r": 183,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 295.385,
    "s": 27.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68741,
    "c": 0.09205,
    "h": 323.9
  },
  "luminance": 0.30983
}

Semantic roles & 50–950 ramp

primary
#B787BB
secondary
#C7D8C6
accent
#A63F47
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#131013
muted
#827F82

Preview Lab

Preview with #B787BB

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

Preview Lab → · Contrast checker → · Palette generator →

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