#B786CB#B786CB

#B786CB is a light, moderate purple. Relative luminance 0.314; OKLCH L 69.2% C 0.112 H 315.8°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B786CB
RGBrgb(183, 134, 203)
HSLhsl(283, 40%, 66%)
HSVhsv(283, 34%, 80%)
CMYKcmyk(9.9%, 34%, 0%, 20.4%)
CIE-LABlab(62.87, 31.06, -28.45)
CIE-LCHlch(62.87, 42.12, 317.51°)
OKLaboklab(69.23% 0.0803 -0.078)
OKLCHoklch(69.23% 0.112 315.8)
XYZxyz(38.8314, 31.4301, 60.5094)
Luminance0.3143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B786CB #9ACB86
analogous
#9486CB #B786CB #CB86BC
triadic
#B786CB #CBB786 #86CBB7
tetradic
#B786CB #CB9486 #9ACB86 #86BCCB
square
#B786CB #CB9486 #9ACB86 #86BCCB
split-complementary
#B786CB #BCCB86 #86CB94
monochromatic
#7D4196 #9E5BB9 #B786CB #D0B1DD #EADCF0

Accessibility & contrast

On white

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

On black

7.29
#B786CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B786CB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B786CB#FFFFFF#000000##000000
##B786CB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C95CE
Deuteranopia (green-blind)
#879AC9
Tritanopia (blue-blind)
#B68F9F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b786cb;
/* rgb */ color: rgb(183, 134, 203);
/* oklch */ color: oklch(69.2% 0.112 315.8);
Tailwind
colors: {
  custom: {
    50: '#cdaadb',
    500: '#b786cb',
    950: '#000000',
  },
}
SCSS
$custom: #b786cb;
$custom-light: #cdaadb;
$custom-dark: #000000;
JSON
{
  "hex": "#b786cb",
  "rgb": {
    "r": 183,
    "g": 134,
    "b": 203
  },
  "hsl": {
    "h": 282.609,
    "s": 39.884,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69227,
    "c": 0.11193,
    "h": 315.8
  },
  "luminance": 0.31429
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B786CB

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

Preview Lab → · Contrast checker → · Palette generator →

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