#BB87DB#BB87DB

#BB87DB is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.5% C 0.131 H 311.8°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#BB87DB
RGBrgb(187, 135, 219)
HSLhsl(277, 54%, 69%)
HSVhsv(277, 38%, 86%)
CMYKcmyk(14.6%, 38.4%, 0%, 14.1%)
CIE-LABlab(64.17, 35.11, -35.35)
CIE-LCHlch(64.17, 49.82, 314.81°)
OKLaboklab(70.52% 0.0872 -0.0976)
OKLCHoklch(70.52% 0.131 311.8)
XYZxyz(41.9415, 33.0079, 71.1658)
Luminance0.3301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87DB #A7DB87
analogous
#9187DB #BB87DB #DB87D1
triadic
#BB87DB #DBBB87 #87DBBB
tetradic
#BB87DB #DB9187 #A7DB87 #87D1DB
square
#BB87DB #DB9187 #A7DB87 #87D1DB
split-complementary
#BB87DB #D1DB87 #87DB91
monochromatic
#8335B2 #A058CD #BB87DB #D6B6E9 #F0E5F7

Accessibility & contrast

On white

2.76
#BB87DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#BB87DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87DB
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87DB#FFFFFF#000000##000000
##BB87DB1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DE
Deuteranopia (green-blind)
#849DD9
Tritanopia (blue-blind)
#B893A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb87db;
/* rgb */ color: rgb(187, 135, 219);
/* oklch */ color: oklch(70.5% 0.131 311.8);
Tailwind
colors: {
  custom: {
    50: '#d0abe6',
    500: '#bb87db',
    950: '#000000',
  },
}
SCSS
$custom: #bb87db;
$custom-light: #d0abe6;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87db",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 219
  },
  "hsl": {
    "h": 277.143,
    "s": 53.846,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70521,
    "c": 0.13088,
    "h": 311.8
  },
  "luminance": 0.33007
}

Semantic roles & 50–950 ramp

primary
#BB87DB
secondary
#DCEBD3
accent
#C12460
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB87DB

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

Preview Lab → · Contrast checker → · Palette generator →

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