#B787CB#B787CB

#B787CB is a light, moderate purple. Relative luminance 0.317; OKLCH L 69.4% C 0.110 H 315.7°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#B787CB
RGBrgb(183, 135, 203)
HSLhsl(282, 40%, 66%)
HSVhsv(282, 33%, 80%)
CMYKcmyk(9.9%, 33.5%, 0%, 20.4%)
CIE-LABlab(63.10, 30.50, -28.09)
CIE-LCHlch(63.10, 41.47, 317.35°)
OKLaboklab(69.4% 0.0788 -0.077)
OKLCHoklch(69.4% 0.11 315.7)
XYZxyz(38.9703, 31.7078, 60.5556)
Luminance0.3171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B787CB #9BCB87
analogous
#9587CB #B787CB #CB87BD
triadic
#B787CB #CBB787 #87CBB7
tetradic
#B787CB #CB9587 #9BCB87 #87BDCB
square
#B787CB #CB9587 #9BCB87 #87BDCB
split-complementary
#B787CB #BDCB87 #87CB95
monochromatic
#7D4196 #9D5CB8 #B787CB #D1B2DE #EADCF0

Accessibility & contrast

On white

2.86
#B787CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#B787CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B787CB
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B787CB#FFFFFF#000000##000000
##B787CB1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D96CE
Deuteranopia (green-blind)
#889AC9
Tritanopia (blue-blind)
#B68FA0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b787cb;
/* rgb */ color: rgb(183, 135, 203);
/* oklch */ color: oklch(69.4% 0.110 315.7);
Tailwind
colors: {
  custom: {
    50: '#cdaadb',
    500: '#b787cb',
    950: '#000000',
  },
}
SCSS
$custom: #b787cb;
$custom-light: #cdaadb;
$custom-dark: #000000;
JSON
{
  "hex": "#b787cb",
  "rgb": {
    "r": 183,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 282.353,
    "s": 39.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.69403,
    "c": 0.11015,
    "h": 315.7
  },
  "luminance": 0.31707
}

Semantic roles & 50–950 ramp

primary
#B787CB
secondary
#D2E2CC
accent
#B33358
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B787CB

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

Preview Lab → · Contrast checker → · Palette generator →

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