#BB71D8#BB71D8

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

Color values

HEX#BB71D8
RGBrgb(187, 113, 216)
HSLhsl(283, 57%, 65%)
HSVhsv(283, 48%, 85%)
CMYKcmyk(13.4%, 47.7%, 0%, 15.3%)
CIE-LABlab(59.28, 46.39, -41.31)
CIE-LCHlch(59.28, 62.12, 318.31°)
OKLaboklab(66.82% 0.118 -0.1147)
OKLCHoklch(66.82% 0.165 315.8)
XYZxyz(38.7914, 27.3340, 68.1850)
Luminance0.2733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71D8 #8ED871
analogous
#8871D8 #BB71D8 #D871C1
triadic
#BB71D8 #D8BB71 #71D8BB
tetradic
#BB71D8 #D88871 #8ED871 #71C1D8
square
#BB71D8 #D88871 #8ED871 #71C1D8
split-complementary
#BB71D8 #C1D871 #71D888
monochromatic
#812DA2 #A441CB #BB71D8 #D2A1E5 #E9D1F2

Accessibility & contrast

On white

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

On black

6.47
#BB71D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71D8
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71D8#FFFFFF#000000##000000
##BB71D81.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bb71d8;
/* rgb */ color: rgb(187, 113, 216);
/* oklch */ color: oklch(66.8% 0.165 315.8);
Tailwind
colors: {
  custom: {
    50: '#d19ce4',
    500: '#bb71d8',
    950: '#000000',
  },
}
SCSS
$custom: #bb71d8;
$custom-light: #d19ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71d8",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 216
  },
  "hsl": {
    "h": 283.107,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66815,
    "c": 0.16453,
    "h": 315.8
  },
  "luminance": 0.27333
}

Semantic roles & 50–950 ramp

primary
#BB71D8
secondary
#CBE4C1
accent
#C4214F
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E15
muted
#837E84

Preview Lab

Preview with #BB71D8

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

Preview Lab → · Contrast checker → · Palette generator →

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