#B786DC#B786DC

#B786DC is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.0% C 0.132 H 309.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#B786DC
RGBrgb(183, 134, 220)
HSLhsl(274, 55%, 69%)
HSVhsv(274, 39%, 86%)
CMYKcmyk(16.8%, 39.1%, 0%, 13.7%)
CIE-LABlab(63.58, 34.69, -36.85)
CIE-LCHlch(63.58, 50.61, 313.27°)
OKLaboklab(70% 0.0841 -0.102)
OKLCHoklch(70% 0.132 309.5)
XYZxyz(40.9694, 32.2853, 71.7697)
Luminance0.3229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B786DC #ABDC86
analogous
#8C86DC #B786DC #DC86D6
triadic
#B786DC #DCB786 #86DCB7
tetradic
#B786DC #DC8C86 #ABDC86 #86D6DC
square
#B786DC #DC8C86 #ABDC86 #86D6DC
split-complementary
#B786DC #D6DC86 #86DC8C
monochromatic
#7D34B4 #9B57CE #B786DC #D3B5EA #EFE5F7

Accessibility & contrast

On white

2.82
#B786DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#B786DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B786DC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B786DC#FFFFFF#000000##000000
##B786DC1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DF
Deuteranopia (green-blind)
#809BDA
Tritanopia (blue-blind)
#B393A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b786dc;
/* rgb */ color: rgb(183, 134, 220);
/* oklch */ color: oklch(70.0% 0.132 309.5);
Tailwind
colors: {
  custom: {
    50: '#ceaae7',
    500: '#b786dc',
    950: '#000000',
  },
}
SCSS
$custom: #b786dc;
$custom-light: #ceaae7;
$custom-dark: #000000;
JSON
{
  "hex": "#b786dc",
  "rgb": {
    "r": 183,
    "g": 134,
    "b": 220
  },
  "hsl": {
    "h": 274.186,
    "s": 55.128,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69997,
    "c": 0.13223,
    "h": 309.5
  },
  "luminance": 0.32285
}

Semantic roles & 50–950 ramp

primary
#B786DC
secondary
#DDEBD3
accent
#C32368
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B786DC

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

Preview Lab → · Contrast checker → · Palette generator →

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