#BB87F0#BB87F0

#BB87F0 is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.5% C 0.156 H 305.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#BB87F0
RGBrgb(187, 135, 240)
HSLhsl(270, 78%, 74%)
HSVhsv(270, 44%, 94%)
CMYKcmyk(22.1%, 43.8%, 0%, 5.9%)
CIE-LABlab(65.11, 39.75, -45.50)
CIE-LCHlch(65.11, 60.42, 311.14°)
OKLaboklab(71.54% 0.091 -0.1269)
OKLCHoklch(71.54% 0.156 305.7)
XYZxyz(44.8824, 34.1843, 86.6549)
Luminance0.3418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87F0 #BCF087
analogous
#8787F0 #BB87F0 #EF87F0
triadic
#BB87F0 #F0BB87 #87F0BB
tetradic
#BB87F0 #F08787 #BCF087 #87F0EF
square
#BB87F0 #F08787 #BCF087 #87F0EF
split-complementary
#BB87F0 #F0EF87 #87F087
monochromatic
#7D1CE1 #9C51E9 #BB87F0 #DABDF7 #F0E4FC

Accessibility & contrast

On white

2.68
#BB87F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#BB87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87F0
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87F0#FFFFFF#000000##000000
##BB87F01.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9CF4
Deuteranopia (green-blind)
#799EED
Tritanopia (blue-blind)
#B398B0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb87f0;
/* rgb */ color: rgb(187, 135, 240);
/* oklch */ color: oklch(71.5% 0.156 305.7);
Tailwind
colors: {
  custom: {
    50: '#d1abf5',
    500: '#bb87f0',
    950: '#000000',
  },
}
SCSS
$custom: #bb87f0;
$custom-light: #d1abf5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87f0",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 269.714,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71538,
    "c": 0.15618,
    "h": 305.7
  },
  "luminance": 0.34184
}

Semantic roles & 50–950 ramp

primary
#BB87F0
secondary
#E6F3D8
accent
#DA0B74
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #BB87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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