#BB71D7#BB71D7

#BB71D7 is a light, vivid purple. Relative luminance 0.273; OKLCH L 66.8% C 0.163 H 316.1°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#BB71D7
RGBrgb(187, 113, 215)
HSLhsl(284, 56%, 64%)
HSVhsv(284, 47%, 84%)
CMYKcmyk(13%, 47.4%, 0%, 15.7%)
CIE-LABlab(59.23, 46.18, -40.82)
CIE-LCHlch(59.23, 61.64, 318.52°)
OKLaboklab(66.76% 0.1178 -0.1133)
OKLCHoklch(66.76% 0.163 316.1)
XYZxyz(38.6625, 27.2825, 67.5062)
Luminance0.2728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71D7 #8DD771
analogous
#8871D7 #BB71D7 #D771C0
triadic
#BB71D7 #D7BB71 #71D7BB
tetradic
#BB71D7 #D78871 #8DD771 #71C0D7
square
#BB71D7 #D78871 #8DD771 #71C0D7
split-complementary
#BB71D7 #C0D771 #71D788
monochromatic
#812DA0 #A441CA #BB71D7 #D2A1E4 #E9D0F2

Accessibility & contrast

On white

3.25
#BB71D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#BB71D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71D7
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71D7#FFFFFF#000000##000000
##BB71D71.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8ADB
Deuteranopia (green-blind)
#7291D4
Tritanopia (blue-blind)
#BA809A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bb71d7;
/* rgb */ color: rgb(187, 113, 215);
/* oklch */ color: oklch(66.8% 0.163 316.1);
Tailwind
colors: {
  custom: {
    50: '#d19ce4',
    500: '#bb71d7',
    950: '#000000',
  },
}
SCSS
$custom: #bb71d7;
$custom-light: #d19ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71d7",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 215
  },
  "hsl": {
    "h": 283.529,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.66764,
    "c": 0.16344,
    "h": 316.1
  },
  "luminance": 0.27281
}

Semantic roles & 50–950 ramp

primary
#BB71D7
secondary
#CAE4C0
accent
#C4224E
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BB71D7

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

Preview Lab → · Contrast checker → · Palette generator →

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