#BB71D4#BB71D4

#BB71D4 is a light, vivid purple. Relative luminance 0.271; OKLCH L 66.6% C 0.160 H 317.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#BB71D4
RGBrgb(187, 113, 212)
HSLhsl(285, 54%, 64%)
HSVhsv(285, 47%, 83%)
CMYKcmyk(11.8%, 46.7%, 0%, 16.9%)
CIE-LABlab(59.09, 45.56, -39.36)
CIE-LCHlch(59.09, 60.21, 319.18°)
OKLaboklab(66.61% 0.1174 -0.109)
OKLCHoklch(66.61% 0.16 317.1)
XYZxyz(38.2806, 27.1297, 65.4946)
Luminance0.2713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71D4 #8AD471
analogous
#8971D4 #BB71D4 #D471BC
triadic
#BB71D4 #D4BB71 #71D4BB
tetradic
#BB71D4 #D48971 #8AD471 #71BCD4
square
#BB71D4 #D48971 #8AD471 #71BCD4
split-complementary
#BB71D4 #BCD471 #71D489
monochromatic
#802F9C #A542C6 #BB71D4 #D1A0E2 #E8CFF0

Accessibility & contrast

On white

3.27
#BB71D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#BB71D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71D4
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71D4#FFFFFF#000000##000000
##BB71D41.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F89D7
Deuteranopia (green-blind)
#7491D1
Tritanopia (blue-blind)
#BA7F99
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #bb71d4;
/* rgb */ color: rgb(187, 113, 212);
/* oklch */ color: oklch(66.6% 0.160 317.1);
Tailwind
colors: {
  custom: {
    50: '#d19ce1',
    500: '#bb71d4',
    950: '#000000',
  },
}
SCSS
$custom: #bb71d4;
$custom-light: #d19ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71d4",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 212
  },
  "hsl": {
    "h": 284.848,
    "s": 53.514,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66613,
    "c": 0.16022,
    "h": 317.1
  },
  "luminance": 0.27129
}

Semantic roles & 50–950 ramp

primary
#BB71D4
secondary
#C8E2BF
accent
#C1254C
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BB71D4

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

Preview Lab → · Contrast checker → · Palette generator →

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