#B786CD#B786CD

#B786CD is a light, moderate purple. Relative luminance 0.315; OKLCH L 69.3% C 0.114 H 315.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#B786CD
RGBrgb(183, 134, 205)
HSLhsl(281, 42%, 66%)
HSVhsv(281, 35%, 80%)
CMYKcmyk(10.7%, 34.6%, 0%, 19.6%)
CIE-LABlab(62.95, 31.47, -29.45)
CIE-LCHlch(62.95, 43.10, 316.90°)
OKLaboklab(69.31% 0.0808 -0.0808)
OKLCHoklch(69.31% 0.114 315)
XYZxyz(39.0713, 31.5260, 61.7727)
Luminance0.3152 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B786CD #9CCD86
analogous
#9486CD #B786CD #CD86C0
triadic
#B786CD #CDB786 #86CDB7
tetradic
#B786CD #CD9486 #9CCD86 #86C0CD
square
#B786CD #CD9486 #9CCD86 #86C0CD
split-complementary
#B786CD #C0CD86 #86CD94
monochromatic
#7D3F99 #9D5BBB #B786CD #D1B1DF #EBDDF1

Accessibility & contrast

On white

2.87
#B786CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#B786CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B786CD
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B786CD#FFFFFF#000000##000000
##B786CD1.002.877.307.30
#FFFFFF2.871.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95D0
Deuteranopia (green-blind)
#869ACB
Tritanopia (blue-blind)
#B68FA0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b786cd;
/* rgb */ color: rgb(183, 134, 205);
/* oklch */ color: oklch(69.3% 0.114 315.0);
Tailwind
colors: {
  custom: {
    50: '#cdaadc',
    500: '#b786cd',
    950: '#000000',
  },
}
SCSS
$custom: #b786cd;
$custom-light: #cdaadc;
$custom-dark: #000000;
JSON
{
  "hex": "#b786cd",
  "rgb": {
    "r": 183,
    "g": 134,
    "b": 205
  },
  "hsl": {
    "h": 281.408,
    "s": 41.52,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69314,
    "c": 0.11427,
    "h": 315
  },
  "luminance": 0.31525
}

Semantic roles & 50–950 ramp

primary
#B786CD
secondary
#D3E3CC
accent
#B5315A
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B786CD

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

Preview Lab → · Contrast checker → · Palette generator →

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