#B786CC#B786CC

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

Color values

HEX#B786CC
RGBrgb(183, 134, 204)
HSLhsl(282, 41%, 66%)
HSVhsv(282, 34%, 80%)
CMYKcmyk(10.3%, 34.3%, 0%, 20%)
CIE-LABlab(62.91, 31.26, -28.95)
CIE-LCHlch(62.91, 42.61, 317.20°)
OKLaboklab(69.27% 0.0805 -0.0794)
OKLCHoklch(69.27% 0.113 315.4)
XYZxyz(38.9509, 31.4779, 61.1390)
Luminance0.3148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B786CC #9BCC86
analogous
#9486CC #B786CC #CC86BE
triadic
#B786CC #CCB786 #86CCB7
tetradic
#B786CC #CC9486 #9BCC86 #86BECC
square
#B786CC #CC9486 #9BCC86 #86BECC
split-complementary
#B786CC #BECC86 #86CC94
monochromatic
#7D4098 #9D5BBA #B786CC #D1B1DE #EADCF0

Accessibility & contrast

On white

2.88
#B786CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B786CC#FFFFFF#000000##000000
##B786CC1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B95CF
Deuteranopia (green-blind)
#879ACA
Tritanopia (blue-blind)
#B68FA0
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b786cc;
/* rgb */ color: rgb(183, 134, 204);
/* oklch */ color: oklch(69.3% 0.113 315.4);
Tailwind
colors: {
  custom: {
    50: '#cdaadb',
    500: '#b786cc',
    950: '#000000',
  },
}
SCSS
$custom: #b786cc;
$custom-light: #cdaadb;
$custom-dark: #000000;
JSON
{
  "hex": "#b786cc",
  "rgb": {
    "r": 183,
    "g": 134,
    "b": 204
  },
  "hsl": {
    "h": 282,
    "s": 40.698,
    "l": 66.275
  },
  "oklch": {
    "l": 0.6927,
    "c": 0.11309,
    "h": 315.4
  },
  "luminance": 0.31477
}

Semantic roles & 50–950 ramp

primary
#B786CC
secondary
#D2E2CB
accent
#B43259
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B786CC

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

Preview Lab → · Contrast checker → · Palette generator →

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