#B786BF#B786BF

#B786BF is a light, moderate purple. Relative luminance 0.309; OKLCH L 68.7% C 0.098 H 321.7°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#B786BF
RGBrgb(183, 134, 191)
HSLhsl(292, 31%, 64%)
HSVhsv(292, 30%, 75%)
CMYKcmyk(4.2%, 29.8%, 0%, 25.1%)
CIE-LABlab(62.41, 28.62, -22.41)
CIE-LCHlch(62.41, 36.35, 321.94°)
OKLaboklab(68.72% 0.0771 -0.0609)
OKLCHoklch(68.72% 0.098 321.7)
XYZxyz(37.4564, 30.8801, 53.2675)
Luminance0.3088 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B786BF #8EBF86
analogous
#9A86BF #B786BF #BF86AA
triadic
#B786BF #BFB786 #86BFB7
tetradic
#B786BF #BF9A86 #8EBF86 #86AABF
square
#B786BF #BF9A86 #8EBF86 #86AABF
split-complementary
#B786BF #AABF86 #86BF9A
monochromatic
#7C4685 #9F5EAA #B786BF #CFAED4 #E7D6E9

Accessibility & contrast

On white

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

On black

7.18
#B786BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B786BF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B786BF#FFFFFF#000000##000000
##B786BF1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8093C1
Deuteranopia (green-blind)
#8C99BD
Tritanopia (blue-blind)
#B98C9A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b786bf;
/* rgb */ color: rgb(183, 134, 191);
/* oklch */ color: oklch(68.7% 0.098 321.7);
Tailwind
colors: {
  custom: {
    50: '#cdaad2',
    500: '#b786bf',
    950: '#000000',
  },
}
SCSS
$custom: #b786bf;
$custom-light: #cdaad2;
$custom-dark: #000000;
JSON
{
  "hex": "#b786bf",
  "rgb": {
    "r": 183,
    "g": 134,
    "b": 191
  },
  "hsl": {
    "h": 291.579,
    "s": 30.811,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68722,
    "c": 0.09824,
    "h": 321.7
  },
  "luminance": 0.30879
}

Semantic roles & 50–950 ramp

primary
#B786BF
secondary
#C9DAC6
accent
#AA3C4B
background
#FCFAFC
surface
#F9F4F9
border
#D2CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #B786BF

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

Preview Lab → · Contrast checker → · Palette generator →

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