#BB87F3#BB87F3

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

Color values

HEX#BB87F3
RGBrgb(187, 135, 243)
HSLhsl(269, 82%, 74%)
HSVhsv(269, 44%, 95%)
CMYKcmyk(23%, 44.4%, 0%, 4.7%)
CIE-LABlab(65.25, 40.44, -46.93)
CIE-LCHlch(65.25, 61.95, 310.75°)
OKLaboklab(71.69% 0.0915 -0.131)
OKLCHoklch(71.69% 0.16 304.9)
XYZxyz(45.3318, 34.3640, 89.0214)
Luminance0.3436 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87F3 #BFF387
analogous
#8789F3 #BB87F3 #F187F3
triadic
#BB87F3 #F3BB87 #87F3BB
tetradic
#BB87F3 #F38789 #BFF387 #87F3F1
square
#BB87F3 #F38789 #BFF387 #87F3F1
split-complementary
#BB87F3 #F3F187 #89F387
monochromatic
#7C18E8 #9B4FED #BB87F3 #DBBFF9 #EFE3FC

Accessibility & contrast

On white

2.67
#BB87F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#BB87F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87F3
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87F3#FFFFFF#000000##000000
##BB87F31.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9DF7
Deuteranopia (green-blind)
#789FF0
Tritanopia (blue-blind)
#B299B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb87f3;
/* rgb */ color: rgb(187, 135, 243);
/* oklch */ color: oklch(71.7% 0.160 304.9);
Tailwind
colors: {
  custom: {
    50: '#d1abf7',
    500: '#bb87f3',
    950: '#000000',
  },
}
SCSS
$custom: #bb87f3;
$custom-light: #d1abf7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87f3",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 268.889,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71691,
    "c": 0.15982,
    "h": 304.9
  },
  "luminance": 0.34364
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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