#B786BC#B786BC

#B786BC is a light, moderate purple. Relative luminance 0.307; OKLCH L 68.6% C 0.095 H 323.4°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#B786BC
RGBrgb(183, 134, 188)
HSLhsl(294, 29%, 63%)
HSVhsv(294, 29%, 74%)
CMYKcmyk(2.7%, 28.7%, 0%, 26.3%)
CIE-LABlab(62.30, 28.03, -20.88)
CIE-LCHlch(62.30, 34.95, 323.31°)
OKLaboklab(68.6% 0.0762 -0.0566)
OKLCHoklch(68.6% 0.095 323.4)
XYZxyz(37.1296, 30.7494, 51.5465)
Luminance0.3075 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B786BC #8BBC86
analogous
#9C86BC #B786BC #BC86A6
triadic
#B786BC #BCB786 #86BCB7
tetradic
#B786BC #BC9C86 #8BBC86 #86A6BC
square
#B786BC #BC9C86 #8BBC86 #86A6BC
split-complementary
#B786BC #A6BC86 #86BC9C
monochromatic
#7B4780 #A05FA6 #B786BC #CEADD2 #E6D5E8

Accessibility & contrast

On white

2.94
#B786BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#B786BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B786BC
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B786BC#FFFFFF#000000##000000
##B786BC1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8193BE
Deuteranopia (green-blind)
#8D99BA
Tritanopia (blue-blind)
#B98B99
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b786bc;
/* rgb */ color: rgb(183, 134, 188);
/* oklch */ color: oklch(68.6% 0.095 323.4);
Tailwind
colors: {
  custom: {
    50: '#cdaad0',
    500: '#b786bc',
    950: '#000000',
  },
}
SCSS
$custom: #b786bc;
$custom-light: #cdaad0;
$custom-dark: #000000;
JSON
{
  "hex": "#b786bc",
  "rgb": {
    "r": 183,
    "g": 134,
    "b": 188
  },
  "hsl": {
    "h": 294.444,
    "s": 28.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.68601,
    "c": 0.09497,
    "h": 323.4
  },
  "luminance": 0.30748
}

Semantic roles & 50–950 ramp

primary
#B786BC
secondary
#C7D9C5
accent
#A73E48
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #B786BC

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

Preview Lab → · Contrast checker → · Palette generator →

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