#BB87F9#BB87F9

#BB87F9 is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.0% C 0.167 H 303.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#BB87F9
RGBrgb(187, 135, 249)
HSLhsl(267, 90%, 75%)
HSVhsv(267, 46%, 98%)
CMYKcmyk(24.9%, 45.8%, 0%, 2.4%)
CIE-LABlab(65.54, 41.82, -49.76)
CIE-LCHlch(65.54, 65.00, 310.04°)
OKLaboklab(72% 0.0923 -0.1393)
OKLCHoklch(72% 0.167 303.5)
XYZxyz(46.2527, 34.7324, 93.8715)
Luminance0.3473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87F9 #C5F987
analogous
#878CF9 #BB87F9 #F487F9
triadic
#BB87F9 #F9BB87 #87F9BB
tetradic
#BB87F9 #F9878C #C5F987 #87F9F4
square
#BB87F9 #F9878C #C5F987 #87F9F4
split-complementary
#BB87F9 #F9F487 #8CF987
monochromatic
#7912F3 #9A4DF6 #BB87F9 #DCC1FC #EEE2FE

Accessibility & contrast

On white

2.64
#BB87F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#BB87F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87F9
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87F9#FFFFFF#000000##000000
##BB87F91.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFD
Deuteranopia (green-blind)
#749FF6
Tritanopia (blue-blind)
#B09BB4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb87f9;
/* rgb */ color: rgb(187, 135, 249);
/* oklch */ color: oklch(72.0% 0.167 303.5);
Tailwind
colors: {
  custom: {
    50: '#d2abfc',
    500: '#bb87f9',
    950: '#000000',
  },
}
SCSS
$custom: #bb87f9;
$custom-light: #d2abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87f9",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 267.368,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.72002,
    "c": 0.16711,
    "h": 303.5
  },
  "luminance": 0.34732
}

Semantic roles & 50–950 ramp

primary
#BB87F9
secondary
#E7F6D5
accent
#E6007D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #BB87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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