#B786CF#B786CF

#B786CF is a light, moderate purple. Relative luminance 0.316; OKLCH L 69.4% C 0.117 H 314.2°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#B786CF
RGBrgb(183, 134, 207)
HSLhsl(280, 43%, 67%)
HSVhsv(280, 35%, 81%)
CMYKcmyk(11.6%, 35.3%, 0%, 18.8%)
CIE-LABlab(63.03, 31.89, -30.44)
CIE-LCHlch(63.03, 44.09, 316.33°)
OKLaboklab(69.4% 0.0813 -0.0836)
OKLCHoklch(69.4% 0.117 314.2)
XYZxyz(39.3142, 31.6232, 63.0522)
Luminance0.3162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B786CF #9ECF86
analogous
#9386CF #B786CF #CF86C3
triadic
#B786CF #CFB786 #86CFB7
tetradic
#B786CF #CF9386 #9ECF86 #86C3CF
square
#B786CF #CF9386 #9ECF86 #86C3CF
split-complementary
#B786CF #C3CF86 #86CF93
monochromatic
#7D3E9D #9D5ABE #B786CF #D1B2E0 #EBDEF2

Accessibility & contrast

On white

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

On black

7.32
#B786CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B786CF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B786CF#FFFFFF#000000##000000
##B786CF1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A96D2
Deuteranopia (green-blind)
#869ACD
Tritanopia (blue-blind)
#B590A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b786cf;
/* rgb */ color: rgb(183, 134, 207);
/* oklch */ color: oklch(69.4% 0.117 314.2);
Tailwind
colors: {
  custom: {
    50: '#cdaade',
    500: '#b786cf',
    950: '#000000',
  },
}
SCSS
$custom: #b786cf;
$custom-light: #cdaade;
$custom-dark: #000000;
JSON
{
  "hex": "#b786cf",
  "rgb": {
    "r": 183,
    "g": 134,
    "b": 207
  },
  "hsl": {
    "h": 280.274,
    "s": 43.195,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69402,
    "c": 0.11662,
    "h": 314.2
  },
  "luminance": 0.31622
}

Semantic roles & 50–950 ramp

primary
#B786CF
secondary
#D4E4CD
accent
#B62F5C
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#141015
muted
#827F83

Preview Lab

Preview with #B786CF

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

Preview Lab → · Contrast checker → · Palette generator →

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