#BB87DA#BB87DA

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

Color values

HEX#BB87DA
RGBrgb(187, 135, 218)
HSLhsl(278, 53%, 69%)
HSVhsv(278, 38%, 85%)
CMYKcmyk(14.2%, 38.1%, 0%, 14.5%)
CIE-LABlab(64.12, 34.90, -34.86)
CIE-LCHlch(64.12, 49.32, 315.03°)
OKLaboklab(70.47% 0.087 -0.0962)
OKLCHoklch(70.47% 0.13 312.1)
XYZxyz(41.8102, 32.9554, 70.4746)
Luminance0.3296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87DA #A6DA87
analogous
#9287DA #BB87DA #DA87D0
triadic
#BB87DA #DABB87 #87DABB
tetradic
#BB87DA #DA9287 #A6DA87 #87D0DA
square
#BB87DA #DA9287 #A6DA87 #87D0DA
split-complementary
#BB87DA #D0DA87 #87DA92
monochromatic
#8336B0 #A058CC #BB87DA #D6B6E8 #F0E5F7

Accessibility & contrast

On white

2.77
#BB87DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#BB87DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87DA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87DA#FFFFFF#000000##000000
##BB87DA1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7899DD
Deuteranopia (green-blind)
#849DD8
Tritanopia (blue-blind)
#B893A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #bb87da;
/* rgb */ color: rgb(187, 135, 218);
/* oklch */ color: oklch(70.5% 0.130 312.1);
Tailwind
colors: {
  custom: {
    50: '#d0abe5',
    500: '#bb87da',
    950: '#000000',
  },
}
SCSS
$custom: #bb87da;
$custom-light: #d0abe5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87da",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 218
  },
  "hsl": {
    "h": 277.59,
    "s": 52.866,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70475,
    "c": 0.12969,
    "h": 312.1
  },
  "luminance": 0.32955
}

Semantic roles & 50–950 ramp

primary
#BB87DA
secondary
#DBEAD2
accent
#C0255F
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB87DA

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

Preview Lab → · Contrast checker → · Palette generator →

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