#BB87FA#BB87FA

#BB87FA is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.1% C 0.168 H 303.3°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#BB87FA
RGBrgb(187, 135, 250)
HSLhsl(267, 92%, 75%)
HSVhsv(267, 46%, 98%)
CMYKcmyk(25.2%, 46%, 0%, 2%)
CIE-LABlab(65.59, 42.05, -50.24)
CIE-LCHlch(65.59, 65.51, 309.93°)
OKLaboklab(72.06% 0.0924 -0.1407)
OKLCHoklch(72.06% 0.168 303.3)
XYZxyz(46.4091, 34.7949, 94.6951)
Luminance0.3479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87FA #C6FA87
analogous
#878CFA #BB87FA #F487FA
triadic
#BB87FA #FABB87 #87FABB
tetradic
#BB87FA #FA878C #C6FA87 #87FAF4
square
#BB87FA #FA878C #C6FA87 #87FAF4
split-complementary
#BB87FA #FAF487 #8CFA87
monochromatic
#7811F5 #9A4CF8 #BB87FA #DCC2FC #EEE2FE

Accessibility & contrast

On white

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

On black

7.96
#BB87FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87FA
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87FA#FFFFFF#000000##000000
##BB87FA1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#749FF7
Tritanopia (blue-blind)
#B09BB5
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #bb87fa;
/* rgb */ color: rgb(187, 135, 250);
/* oklch */ color: oklch(72.1% 0.168 303.3);
Tailwind
colors: {
  custom: {
    50: '#d2abfc',
    500: '#bb87fa',
    950: '#000000',
  },
}
SCSS
$custom: #bb87fa;
$custom-light: #d2abfc;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87fa",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 267.13,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.72055,
    "c": 0.16832,
    "h": 303.3
  },
  "luminance": 0.34795
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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