#B787DB#B787DB

#B787DB is a light, vivid violet. Relative luminance 0.325; OKLCH L 70.1% C 0.129 H 309.6°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#B787DB
RGBrgb(183, 135, 219)
HSLhsl(274, 54%, 69%)
HSVhsv(274, 38%, 86%)
CMYKcmyk(16.4%, 38.4%, 0%, 14.1%)
CIE-LABlab(63.76, 33.92, -36.01)
CIE-LCHlch(63.76, 49.47, 313.28°)
OKLaboklab(70.12% 0.0825 -0.0996)
OKLCHoklch(70.12% 0.129 309.6)
XYZxyz(40.9763, 32.5102, 71.1206)
Luminance0.3251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B787DB #ABDB87
analogous
#8D87DB #B787DB #DB87D5
triadic
#B787DB #DBB787 #87DBB7
tetradic
#B787DB #DB8D87 #ABDB87 #87D5DB
square
#B787DB #DB8D87 #ABDB87 #87D5DB
split-complementary
#B787DB #D5DB87 #87DB8D
monochromatic
#7D35B2 #9B58CD #B787DB #D3B6E9 #EFE5F7

Accessibility & contrast

On white

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

On black

7.50
#B787DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B787DB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B787DB#FFFFFF#000000##000000
##B787DB1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7698DE
Deuteranopia (green-blind)
#819BD9
Tritanopia (blue-blind)
#B393A7
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b787db;
/* rgb */ color: rgb(183, 135, 219);
/* oklch */ color: oklch(70.1% 0.129 309.6);
Tailwind
colors: {
  custom: {
    50: '#ceaae6',
    500: '#b787db',
    950: '#000000',
  },
}
SCSS
$custom: #b787db;
$custom-light: #ceaae6;
$custom-dark: #000000;
JSON
{
  "hex": "#b787db",
  "rgb": {
    "r": 183,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 274.286,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70122,
    "c": 0.12932,
    "h": 309.6
  },
  "luminance": 0.3251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B787DB

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

Preview Lab → · Contrast checker → · Palette generator →

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