#BB87FF#BB87FF

#BB87FF is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.3% C 0.174 H 302.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#BB87FF
RGBrgb(187, 135, 255)
HSLhsl(266, 100%, 76%)
HSVhsv(266, 47%, 100%)
CMYKcmyk(26.7%, 47.1%, 0%, 0%)
CIE-LABlab(65.84, 43.21, -52.58)
CIE-LCHlch(65.84, 68.06, 309.42°)
OKLaboklab(72.32% 0.093 -0.1475)
OKLCHoklch(72.32% 0.174 302.2)
XYZxyz(47.2035, 35.1127, 98.8790)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87FF #CBFF87
analogous
#878FFF #BB87FF #F787FF
triadic
#BB87FF #FFBB87 #87FFBB
tetradic
#BB87FF #FF878F #CBFF87 #87FFF7
square
#BB87FF #FF878F #CBFF87 #87FFF7
split-complementary
#BB87FF #FFF787 #8FFF87
monochromatic
#760DFF #984AFF #BB87FF #DEC4FF #EEE0FF

Accessibility & contrast

On white

2.62
#BB87FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#BB87FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87FF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87FF#FFFFFF#000000##000000
##BB87FF1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#639FFF
Deuteranopia (green-blind)
#70A0FC
Tritanopia (blue-blind)
#AF9CB7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb87ff;
/* rgb */ color: rgb(187, 135, 255);
/* oklch */ color: oklch(72.3% 0.174 302.2);
Tailwind
colors: {
  custom: {
    50: '#d2abff',
    500: '#bb87ff',
    950: '#000000',
  },
}
SCSS
$custom: #bb87ff;
$custom-light: #d2abff;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87ff",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 266,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7232,
    "c": 0.17439,
    "h": 302.2
  },
  "luminance": 0.35113
}

Semantic roles & 50–950 ramp

primary
#BB87FF
secondary
#E8F7D4
accent
#E60082
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #BB87FF

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

Preview Lab → · Contrast checker → · Palette generator →

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