#BB87ED#BB87ED

#BB87ED is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.4% C 0.153 H 306.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#BB87ED
RGBrgb(187, 135, 237)
HSLhsl(271, 74%, 73%)
HSVhsv(271, 43%, 93%)
CMYKcmyk(21.1%, 43%, 0%, 7.1%)
CIE-LABlab(64.97, 39.07, -44.07)
CIE-LCHlch(64.97, 58.90, 311.56°)
OKLaboklab(71.39% 0.0906 -0.1227)
OKLCHoklch(71.39% 0.153 306.4)
XYZxyz(44.4405, 34.0075, 84.3273)
Luminance0.3401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB87ED #B9ED87
analogous
#8887ED #BB87ED #ED87EC
triadic
#BB87ED #EDBB87 #87EDBB
tetradic
#BB87ED #ED8887 #B9ED87 #87ECED
square
#BB87ED #ED8887 #B9ED87 #87ECED
split-complementary
#BB87ED #ECED87 #87ED88
monochromatic
#7F21D9 #9D52E5 #BB87ED #D9BCF5 #F0E4FB

Accessibility & contrast

On white

2.69
#BB87ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#BB87ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BB87ED
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB87ED#FFFFFF#000000##000000
##BB87ED1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF1
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#B497AF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #bb87ed;
/* rgb */ color: rgb(187, 135, 237);
/* oklch */ color: oklch(71.4% 0.153 306.4);
Tailwind
colors: {
  custom: {
    50: '#d1abf3',
    500: '#bb87ed',
    950: '#000000',
  },
}
SCSS
$custom: #bb87ed;
$custom-light: #d1abf3;
$custom-dark: #000000;
JSON
{
  "hex": "#bb87ed",
  "rgb": {
    "r": 187,
    "g": 135,
    "b": 237
  },
  "hsl": {
    "h": 270.588,
    "s": 73.913,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71387,
    "c": 0.15253,
    "h": 306.4
  },
  "luminance": 0.34007
}

Semantic roles & 50–950 ramp

primary
#BB87ED
secondary
#E5F3D8
accent
#D60F71
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #BB87ED

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

Preview Lab → · Contrast checker → · Palette generator →

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