#B786CA#B786CA

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

Color values

HEX#B786CA
RGBrgb(183, 134, 202)
HSLhsl(283, 39%, 66%)
HSVhsv(283, 34%, 79%)
CMYKcmyk(9.4%, 33.7%, 0%, 20.8%)
CIE-LABlab(62.83, 30.85, -27.95)
CIE-LCHlch(62.83, 41.63, 317.82°)
OKLaboklab(69.18% 0.08 -0.0766)
OKLCHoklch(69.18% 0.111 316.3)
XYZxyz(38.7126, 31.3826, 59.8838)
Luminance0.3138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B786CA #99CA86
analogous
#9586CA #B786CA #CA86BB
triadic
#B786CA #CAB786 #86CAB7
tetradic
#B786CA #CA9586 #99CA86 #86BBCA
square
#B786CA #CA9586 #99CA86 #86BBCA
split-complementary
#B786CA #BBCA86 #86CA95
monochromatic
#7D4195 #9E5BB7 #B786CA #D0B1DD #EADBEF

Accessibility & contrast

On white

2.89
#B786CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#B786CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B786CA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B786CA#FFFFFF#000000##000000
##B786CA1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C95CD
Deuteranopia (green-blind)
#889AC8
Tritanopia (blue-blind)
#B68E9F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b786ca;
/* rgb */ color: rgb(183, 134, 202);
/* oklch */ color: oklch(69.2% 0.111 316.3);
Tailwind
colors: {
  custom: {
    50: '#cdaada',
    500: '#b786ca',
    950: '#000000',
  },
}
SCSS
$custom: #b786ca;
$custom-light: #cdaada;
$custom-dark: #000000;
JSON
{
  "hex": "#b786ca",
  "rgb": {
    "r": 183,
    "g": 134,
    "b": 202
  },
  "hsl": {
    "h": 283.235,
    "s": 39.08,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69183,
    "c": 0.11076,
    "h": 316.3
  },
  "luminance": 0.31382
}

Semantic roles & 50–950 ramp

primary
#B786CA
secondary
#D1E1CB
accent
#B23357
background
#FCFAFD
surface
#F9F4FA
border
#D2CED3
text
#131015
muted
#827F83

Preview Lab

Preview with #B786CA

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

Preview Lab → · Contrast checker → · Palette generator →

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