#B786DB#B786DB

#B786DB is a light, vivid violet. Relative luminance 0.322; OKLCH L 70.0% C 0.131 H 309.8°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#B786DB
RGBrgb(183, 134, 219)
HSLhsl(275, 54%, 69%)
HSVhsv(275, 39%, 86%)
CMYKcmyk(16.4%, 38.8%, 0%, 14.1%)
CIE-LABlab(63.53, 34.47, -36.36)
CIE-LCHlch(63.53, 50.10, 313.47°)
OKLaboklab(69.95% 0.0839 -0.1006)
OKLCHoklch(69.95% 0.131 309.8)
XYZxyz(40.8374, 32.2325, 71.0743)
Luminance0.3223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B786DB #AADB86
analogous
#8D86DB #B786DB #DB86D5
triadic
#B786DB #DBB786 #86DBB7
tetradic
#B786DB #DB8D86 #AADB86 #86D5DB
square
#B786DB #DB8D86 #AADB86 #86D5DB
split-complementary
#B786DB #D5DB86 #86DB8D
monochromatic
#7D35B2 #9B57CD #B786DB #D3B5E9 #EFE4F7

Accessibility & contrast

On white

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

On black

7.45
#B786DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B786DB
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B786DB#FFFFFF#000000##000000
##B786DB1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DE
Deuteranopia (green-blind)
#809BD9
Tritanopia (blue-blind)
#B392A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b786db;
/* rgb */ color: rgb(183, 134, 219);
/* oklch */ color: oklch(70.0% 0.131 309.8);
Tailwind
colors: {
  custom: {
    50: '#ceaae6',
    500: '#b786db',
    950: '#000000',
  },
}
SCSS
$custom: #b786db;
$custom-light: #ceaae6;
$custom-dark: #000000;
JSON
{
  "hex": "#b786db",
  "rgb": {
    "r": 183,
    "g": 134,
    "b": 219
  },
  "hsl": {
    "h": 274.588,
    "s": 54.14,
    "l": 69.216
  },
  "oklch": {
    "l": 0.6995,
    "c": 0.13101,
    "h": 309.8
  },
  "luminance": 0.32232
}

Semantic roles & 50–950 ramp

primary
#B786DB
secondary
#DDEBD2
accent
#C22467
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B786DB

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

Preview Lab → · Contrast checker → · Palette generator →

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