#B786BD#B786BD

#B786BD is a light, moderate purple. Relative luminance 0.308; OKLCH L 68.6% C 0.096 H 322.8°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#B786BD
RGBrgb(183, 134, 189)
HSLhsl(293, 29%, 63%)
HSVhsv(293, 29%, 74%)
CMYKcmyk(3.2%, 29.1%, 0%, 25.9%)
CIE-LABlab(62.33, 28.22, -21.39)
CIE-LCHlch(62.33, 35.41, 322.84°)
OKLaboklab(68.64% 0.0765 -0.058)
OKLCHoklch(68.64% 0.096 322.8)
XYZxyz(37.2378, 30.7926, 52.1162)
Luminance0.3079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B786BD #8CBD86
analogous
#9B86BD #B786BD #BD86A7
triadic
#B786BD #BDB786 #86BDB7
tetradic
#B786BD #BD9B86 #8CBD86 #86A7BD
square
#B786BD #BD9B86 #8CBD86 #86A7BD
split-complementary
#B786BD #A7BD86 #86BD9B
monochromatic
#7B4782 #9F5EA7 #B786BD #CFAED3 #E6D5E8

Accessibility & contrast

On white

2.93
#B786BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#B786BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B786BD
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B786BD#FFFFFF#000000##000000
##B786BD1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8193BF
Deuteranopia (green-blind)
#8C99BB
Tritanopia (blue-blind)
#B98B9A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b786bd;
/* rgb */ color: rgb(183, 134, 189);
/* oklch */ color: oklch(68.6% 0.096 322.8);
Tailwind
colors: {
  custom: {
    50: '#cdaad1',
    500: '#b786bd',
    950: '#000000',
  },
}
SCSS
$custom: #b786bd;
$custom-light: #cdaad1;
$custom-dark: #000000;
JSON
{
  "hex": "#b786bd",
  "rgb": {
    "r": 183,
    "g": 134,
    "b": 189
  },
  "hsl": {
    "h": 293.455,
    "s": 29.412,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68641,
    "c": 0.09605,
    "h": 322.8
  },
  "luminance": 0.30792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B786BD

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

Preview Lab → · Contrast checker → · Palette generator →

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