#B787BC#B787BC

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

Color values

HEX#B787BC
RGBrgb(183, 135, 188)
HSLhsl(294, 28%, 63%)
HSVhsv(294, 28%, 74%)
CMYKcmyk(2.7%, 28.2%, 0%, 26.3%)
CIE-LABlab(62.53, 27.47, -20.52)
CIE-LCHlch(62.53, 34.29, 323.23°)
OKLaboklab(68.78% 0.0747 -0.0556)
OKLCHoklch(68.78% 0.093 323.3)
XYZxyz(37.2685, 31.0271, 51.5928)
Luminance0.3103 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B787BC #8CBC87
analogous
#9C87BC #B787BC #BC87A6
triadic
#B787BC #BCB787 #87BCB7
tetradic
#B787BC #BC9C87 #8CBC87 #87A6BC
square
#B787BC #BC9C87 #8CBC87 #87A6BC
split-complementary
#B787BC #A6BC87 #87BC9C
monochromatic
#7B4881 #9F60A6 #B787BC #CFAED2 #E6D6E8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B787BC#FFFFFF#000000##000000
##B787BC1.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)
#8294BE
Deuteranopia (green-blind)
#8D99BA
Tritanopia (blue-blind)
#B98C9A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b787bc;
/* rgb */ color: rgb(183, 135, 188);
/* oklch */ color: oklch(68.8% 0.093 323.3);
Tailwind
colors: {
  custom: {
    50: '#cdaad0',
    500: '#b787bc',
    950: '#000000',
  },
}
SCSS
$custom: #b787bc;
$custom-light: #cdaad0;
$custom-dark: #000000;
JSON
{
  "hex": "#b787bc",
  "rgb": {
    "r": 183,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 294.34,
    "s": 28.342,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68781,
    "c": 0.09313,
    "h": 323.3
  },
  "luminance": 0.31026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B787BC

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

Preview Lab → · Contrast checker → · Palette generator →

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