#BB87DF#BB87DF

#BB87DF is a light, vivid violet. Relative luminance 0.332; OKLCH L 70.7% C 0.136 H 310.4°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#BB87DF
RGBrgb(187, 135, 223)
HSLhsl(275, 58%, 70%)
HSVhsv(275, 39%, 87%)
CMYKcmyk(16.1%, 39.5%, 0%, 12.5%)
CIE-LABlab(64.34, 35.98, -37.30)
CIE-LCHlch(64.34, 51.82, 313.96°)
OKLaboklab(70.71% 0.088 -0.1032)
OKLCHoklch(70.71% 0.136 310.4)
XYZxyz(42.4744, 33.2211, 73.9725)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87DF #ABDF87
analogous
#8F87DF #BB87DF #DF87D7
triadic
#BB87DF #DFBB87 #87DFBB
tetradic
#BB87DF #DF8F87 #ABDF87 #87D7DF
square
#BB87DF #DF8F87 #ABDF87 #87D7DF
split-complementary
#BB87DF #D7DF87 #87DF8F
monochromatic
#8232BA #A057D2 #BB87DF #D6B7EC #F1E7F9

Accessibility & contrast

On white

2.75
#BB87DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#BB87DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87DF
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87DF#FFFFFF#000000##000000
##BB87DF1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7699E2
Deuteranopia (green-blind)
#829DDD
Tritanopia (blue-blind)
#B794A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #bb87df;
/* rgb */ color: rgb(187, 135, 223);
/* oklch */ color: oklch(70.7% 0.136 310.4);
Tailwind
colors: {
  custom: {
    50: '#d1abe9',
    500: '#bb87df',
    950: '#000000',
  },
}
SCSS
$custom: #bb87df;
$custom-light: #d1abe9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87df",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 223
  },
  "hsl": {
    "h": 275.455,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70707,
    "c": 0.13565,
    "h": 310.4
  },
  "luminance": 0.3322
}

Semantic roles & 50–950 ramp

primary
#BB87DF
secondary
#DFEDD5
accent
#C52064
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141016
muted
#827F84

Preview Lab

Preview with #BB87DF

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

Preview Lab → · Contrast checker → · Palette generator →

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