#BB87F4#BB87F4

#BB87F4 is a light, vivid violet. Relative luminance 0.344; OKLCH L 71.7% C 0.161 H 304.7°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#BB87F4
RGBrgb(187, 135, 244)
HSLhsl(269, 83%, 74%)
HSVhsv(269, 45%, 96%)
CMYKcmyk(23.4%, 44.7%, 0%, 4.3%)
CIE-LABlab(65.30, 40.66, -47.40)
CIE-LCHlch(65.30, 62.45, 310.63°)
OKLaboklab(71.74% 0.0916 -0.1324)
OKLCHoklch(71.74% 0.161 304.7)
XYZxyz(45.4832, 34.4246, 89.8189)
Luminance0.3442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87F4 #C0F487
analogous
#878AF4 #BB87F4 #F287F4
triadic
#BB87F4 #F4BB87 #87F4BB
tetradic
#BB87F4 #F4878A #C0F487 #87F4F2
square
#BB87F4 #F4878A #C0F487 #87F4F2
split-complementary
#BB87F4 #F4F287 #8AF487
monochromatic
#7B17EA #9B4FEF #BB87F4 #DBBFF9 #EFE3FC

Accessibility & contrast

On white

2.66
#BB87F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#BB87F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87F4
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87F4#FFFFFF#000000##000000
##BB87F41.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9DF8
Deuteranopia (green-blind)
#779FF1
Tritanopia (blue-blind)
#B299B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb87f4;
/* rgb */ color: rgb(187, 135, 244);
/* oklch */ color: oklch(71.7% 0.161 304.7);
Tailwind
colors: {
  custom: {
    50: '#d1abf8',
    500: '#bb87f4',
    950: '#000000',
  },
}
SCSS
$custom: #bb87f4;
$custom-light: #d1abf8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87f4",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 268.624,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.71742,
    "c": 0.16104,
    "h": 304.7
  },
  "luminance": 0.34424
}

Semantic roles & 50–950 ramp

primary
#BB87F4
secondary
#E6F4D7
accent
#E00678
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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