#BB71DD#BB71DD

#BB71DD is a light, vivid purple. Relative luminance 0.276; OKLCH L 67.1% C 0.170 H 314.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#BB71DD
RGBrgb(187, 113, 221)
HSLhsl(281, 61%, 65%)
HSVhsv(281, 49%, 87%)
CMYKcmyk(15.4%, 48.9%, 0%, 13.3%)
CIE-LABlab(59.52, 47.43, -43.74)
CIE-LCHlch(59.52, 64.52, 317.32°)
OKLaboklab(67.07% 0.1186 -0.1217)
OKLCHoklch(67.07% 0.17 314.3)
XYZxyz(39.4477, 27.5965, 71.6412)
Luminance0.2760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71DD #93DD71
analogous
#8571DD #BB71DD #DD71C9
triadic
#BB71DD #DDBB71 #71DDBB
tetradic
#BB71DD #DD8571 #93DD71 #71C9DD
square
#BB71DD #DD8571 #93DD71 #71C9DD
split-complementary
#BB71DD #C9DD71 #71DD85
monochromatic
#8229AB #A340D1 #BB71DD #D3A2E9 #EAD4F5

Accessibility & contrast

On white

3.22
#BB71DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#BB71DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71DD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71DD#FFFFFF#000000##000000
##BB71DD1.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8BE1
Deuteranopia (green-blind)
#6F91DA
Tritanopia (blue-blind)
#B8829D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bb71dd;
/* rgb */ color: rgb(187, 113, 221);
/* oklch */ color: oklch(67.1% 0.170 314.3);
Tailwind
colors: {
  custom: {
    50: '#d19ce8',
    500: '#bb71dd',
    950: '#000000',
  },
}
SCSS
$custom: #bb71dd;
$custom-light: #d19ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71dd",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 221
  },
  "hsl": {
    "h": 281.111,
    "s": 61.364,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67072,
    "c": 0.16996,
    "h": 314.3
  },
  "luminance": 0.27596
}

Semantic roles & 50–950 ramp

primary
#BB71DD
secondary
#CEE7C3
accent
#C91C53
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB71DD

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

Preview Lab → · Contrast checker → · Palette generator →

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