#BB87FD#BB87FD

#BB87FD is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.2% C 0.172 H 302.7°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#BB87FD
RGBrgb(187, 135, 253)
HSLhsl(266, 97%, 76%)
HSVhsv(266, 47%, 99%)
CMYKcmyk(26.1%, 46.6%, 0%, 0.8%)
CIE-LABlab(65.74, 42.75, -51.64)
CIE-LCHlch(65.74, 67.04, 309.62°)
OKLaboklab(72.21% 0.0928 -0.1448)
OKLCHoklch(72.21% 0.172 302.7)
XYZxyz(46.8832, 34.9846, 97.1922)
Luminance0.3498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87FD #C9FD87
analogous
#878EFD #BB87FD #F687FD
triadic
#BB87FD #FDBB87 #87FDBB
tetradic
#BB87FD #FD878E #C9FD87 #87FDF6
square
#BB87FD #FD878E #C9FD87 #87FDF6
split-complementary
#BB87FD #FDF687 #8EFD87
monochromatic
#770FFB #994BFC #BB87FD #DDC3FE #EEE1FE

Accessibility & contrast

On white

2.63
#BB87FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#BB87FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87FD
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87FD#FFFFFF#000000##000000
##BB87FD1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#659FFF
Deuteranopia (green-blind)
#729FFA
Tritanopia (blue-blind)
#AF9CB6
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #bb87fd;
/* rgb */ color: rgb(187, 135, 253);
/* oklch */ color: oklch(72.2% 0.172 302.7);
Tailwind
colors: {
  custom: {
    50: '#d2abfe',
    500: '#bb87fd',
    950: '#000000',
  },
}
SCSS
$custom: #bb87fd;
$custom-light: #d2abfe;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87fd",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 266.441,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.72214,
    "c": 0.17197,
    "h": 302.7
  },
  "luminance": 0.34985
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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