#BB71D9#BB71D9

#BB71D9 is a light, vivid purple. Relative luminance 0.274; OKLCH L 66.9% C 0.166 H 315.5°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#BB71D9
RGBrgb(187, 113, 217)
HSLhsl(283, 58%, 65%)
HSVhsv(283, 48%, 85%)
CMYKcmyk(13.8%, 47.9%, 0%, 14.9%)
CIE-LABlab(59.33, 46.60, -41.80)
CIE-LCHlch(59.33, 62.60, 318.11°)
OKLaboklab(66.87% 0.1181 -0.1161)
OKLCHoklch(66.87% 0.166 315.5)
XYZxyz(38.9211, 27.3859, 68.8679)
Luminance0.2738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71D9 #8FD971
analogous
#8771D9 #BB71D9 #D971C3
triadic
#BB71D9 #D9BB71 #71D9BB
tetradic
#BB71D9 #D98771 #8FD971 #71C3D9
square
#BB71D9 #D98771 #8FD971 #71C3D9
split-complementary
#BB71D9 #C3D971 #71D987
monochromatic
#812CA4 #A441CC #BB71D9 #D2A1E6 #E9D2F3

Accessibility & contrast

On white

3.24
#BB71D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#BB71D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71D9
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71D9#FFFFFF#000000##000000
##BB71D91.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8ADD
Deuteranopia (green-blind)
#7191D6
Tritanopia (blue-blind)
#B9809B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bb71d9;
/* rgb */ color: rgb(187, 113, 217);
/* oklch */ color: oklch(66.9% 0.166 315.5);
Tailwind
colors: {
  custom: {
    50: '#d19ce5',
    500: '#bb71d9',
    950: '#000000',
  },
}
SCSS
$custom: #bb71d9;
$custom-light: #d19ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71d9",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 217
  },
  "hsl": {
    "h": 282.692,
    "s": 57.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66866,
    "c": 0.16561,
    "h": 315.5
  },
  "luminance": 0.27385
}

Semantic roles & 50–950 ramp

primary
#BB71D9
secondary
#CBE5C1
accent
#C52050
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB71D9

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

Preview Lab → · Contrast checker → · Palette generator →

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