#B787DC#B787DC

#B787DC is a light, vivid violet. Relative luminance 0.326; OKLCH L 70.2% C 0.131 H 309.3°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#B787DC
RGBrgb(183, 135, 220)
HSLhsl(274, 55%, 70%)
HSVhsv(274, 39%, 86%)
CMYKcmyk(16.8%, 38.6%, 0%, 13.7%)
CIE-LABlab(63.81, 34.13, -36.50)
CIE-LCHlch(63.81, 49.97, 313.08°)
OKLaboklab(70.17% 0.0827 -0.101)
OKLCHoklch(70.17% 0.131 309.3)
XYZxyz(41.1083, 32.5630, 71.8160)
Luminance0.3256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B787DC #ACDC87
analogous
#8C87DC #B787DC #DC87D7
triadic
#B787DC #DCB787 #87DCB7
tetradic
#B787DC #DC8C87 #ACDC87 #87D7DC
square
#B787DC #DC8C87 #ACDC87 #87D7DC
split-complementary
#B787DC #D7DC87 #87DC8C
monochromatic
#7D35B4 #9B58CE #B787DC #D3B6EA #F0E6F8

Accessibility & contrast

On white

2.80
#B787DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#B787DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B787DC
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B787DC#FFFFFF#000000##000000
##B787DC1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DF
Deuteranopia (green-blind)
#819BDA
Tritanopia (blue-blind)
#B294A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b787dc;
/* rgb */ color: rgb(183, 135, 220);
/* oklch */ color: oklch(70.2% 0.131 309.3);
Tailwind
colors: {
  custom: {
    50: '#ceaae7',
    500: '#b787dc',
    950: '#000000',
  },
}
SCSS
$custom: #b787dc;
$custom-light: #ceaae7;
$custom-dark: #000000;
JSON
{
  "hex": "#b787dc",
  "rgb": {
    "r": 183,
    "g": 135,
    "b": 220
  },
  "hsl": {
    "h": 273.882,
    "s": 54.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70169,
    "c": 0.13053,
    "h": 309.3
  },
  "luminance": 0.32563
}

Semantic roles & 50–950 ramp

primary
#B787DC
secondary
#DEECD3
accent
#C22368
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #B787DC

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

Preview Lab → · Contrast checker → · Palette generator →

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