#B787BF#B787BF

#B787BF is a light, moderate purple. Relative luminance 0.312; OKLCH L 68.9% C 0.096 H 321.6°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#B787BF
RGBrgb(183, 135, 191)
HSLhsl(291, 30%, 64%)
HSVhsv(291, 29%, 75%)
CMYKcmyk(4.2%, 29.3%, 0%, 25.1%)
CIE-LABlab(62.64, 28.06, -22.05)
CIE-LCHlch(62.64, 35.69, 321.84°)
OKLaboklab(68.9% 0.0756 -0.0599)
OKLCHoklch(68.9% 0.096 321.6)
XYZxyz(37.5952, 31.1578, 53.3137)
Luminance0.3116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B787BF #8FBF87
analogous
#9B87BF #B787BF #BF87AB
triadic
#B787BF #BFB787 #87BFB7
tetradic
#B787BF #BF9B87 #8FBF87 #87ABBF
square
#B787BF #BF9B87 #8FBF87 #87ABBF
split-complementary
#B787BF #ABBF87 #87BF9B
monochromatic
#7C4785 #9F5FAA #B787BF #CFAFD4 #E7D7EA

Accessibility & contrast

On white

2.90
#B787BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#B787BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B787BF
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B787BF#FFFFFF#000000##000000
##B787BF1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8194C1
Deuteranopia (green-blind)
#8C99BD
Tritanopia (blue-blind)
#B98D9B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b787bf;
/* rgb */ color: rgb(183, 135, 191);
/* oklch */ color: oklch(68.9% 0.096 321.6);
Tailwind
colors: {
  custom: {
    50: '#cdaad2',
    500: '#b787bf',
    950: '#000000',
  },
}
SCSS
$custom: #b787bf;
$custom-light: #cdaad2;
$custom-dark: #000000;
JSON
{
  "hex": "#b787bf",
  "rgb": {
    "r": 183,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 291.429,
    "s": 30.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68901,
    "c": 0.09643,
    "h": 321.6
  },
  "luminance": 0.31157
}

Semantic roles & 50–950 ramp

primary
#B787BF
secondary
#CADBC7
accent
#A93C4C
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #B787BF

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

Preview Lab → · Contrast checker → · Palette generator →

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