#B786CE#B786CE

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

Color values

HEX#B786CE
RGBrgb(183, 134, 206)
HSLhsl(281, 42%, 67%)
HSVhsv(281, 35%, 81%)
CMYKcmyk(11.2%, 35%, 0%, 19.2%)
CIE-LABlab(62.99, 31.68, -29.95)
CIE-LCHlch(62.99, 43.60, 316.61°)
OKLaboklab(69.36% 0.081 -0.0822)
OKLCHoklch(69.36% 0.115 314.6)
XYZxyz(39.1924, 31.5745, 62.4104)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B786CE #9DCE86
analogous
#9386CE #B786CE #CE86C1
triadic
#B786CE #CEB786 #86CEB7
tetradic
#B786CE #CE9386 #9DCE86 #86C1CE
square
#B786CE #CE9386 #9DCE86 #86C1CE
split-complementary
#B786CE #C1CE86 #86CE93
monochromatic
#7D3F9B #9D5ABC #B786CE #D1B2E0 #EBDDF1

Accessibility & contrast

On white

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

On black

7.31
#B786CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B786CE
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B786CE#FFFFFF#000000##000000
##B786CE1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B96D1
Deuteranopia (green-blind)
#869ACC
Tritanopia (blue-blind)
#B68FA1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b786ce;
/* rgb */ color: rgb(183, 134, 206);
/* oklch */ color: oklch(69.4% 0.115 314.6);
Tailwind
colors: {
  custom: {
    50: '#cdaadd',
    500: '#b786ce',
    950: '#000000',
  },
}
SCSS
$custom: #b786ce;
$custom-light: #cdaadd;
$custom-dark: #000000;
JSON
{
  "hex": "#b786ce",
  "rgb": {
    "r": 183,
    "g": 134,
    "b": 206
  },
  "hsl": {
    "h": 280.833,
    "s": 42.353,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69358,
    "c": 0.11545,
    "h": 314.6
  },
  "luminance": 0.31574
}

Semantic roles & 50–950 ramp

primary
#B786CE
secondary
#D4E3CC
accent
#B5305B
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B786CE

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

Preview Lab → · Contrast checker → · Palette generator →

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