#B787CF#B787CF

#B787CF is a light, moderate purple. Relative luminance 0.319; OKLCH L 69.6% C 0.115 H 314.0°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#B787CF
RGBrgb(183, 135, 207)
HSLhsl(280, 43%, 67%)
HSVhsv(280, 35%, 81%)
CMYKcmyk(11.6%, 34.8%, 0%, 18.8%)
CIE-LABlab(63.26, 31.34, -30.09)
CIE-LCHlch(63.26, 43.44, 316.17°)
OKLaboklab(69.58% 0.0798 -0.0826)
OKLCHoklch(69.58% 0.115 314)
XYZxyz(39.4531, 31.9010, 63.0985)
Luminance0.3190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B787CF #9FCF87
analogous
#9387CF #B787CF #CF87C3
triadic
#B787CF #CFB787 #87CFB7
tetradic
#B787CF #CF9387 #9FCF87 #87C3CF
square
#B787CF #CF9387 #9FCF87 #87C3CF
split-complementary
#B787CF #C3CF87 #87CF93
monochromatic
#7D3F9D #9D5BBE #B787CF #D1B3E0 #EBDEF2

Accessibility & contrast

On white

2.85
#B787CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#B787CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B787CF
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B787CF#FFFFFF#000000##000000
##B787CF1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B96D2
Deuteranopia (green-blind)
#869ACD
Tritanopia (blue-blind)
#B590A2
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b787cf;
/* rgb */ color: rgb(183, 135, 207);
/* oklch */ color: oklch(69.6% 0.115 314.0);
Tailwind
colors: {
  custom: {
    50: '#cdaade',
    500: '#b787cf',
    950: '#000000',
  },
}
SCSS
$custom: #b787cf;
$custom-light: #cdaade;
$custom-dark: #000000;
JSON
{
  "hex": "#b787cf",
  "rgb": {
    "r": 183,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 280,
    "s": 42.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69577,
    "c": 0.11487,
    "h": 314
  },
  "luminance": 0.319
}

Semantic roles & 50–950 ramp

primary
#B787CF
secondary
#D5E4CD
accent
#B6305C
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B787CF

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

Preview Lab → · Contrast checker → · Palette generator →

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