#BB71DC#BB71DC

#BB71DC is a light, vivid purple. Relative luminance 0.275; OKLCH L 67.0% C 0.169 H 314.6°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#BB71DC
RGBrgb(187, 113, 220)
HSLhsl(281, 60%, 65%)
HSVhsv(281, 49%, 86%)
CMYKcmyk(15%, 48.6%, 0%, 13.7%)
CIE-LABlab(59.47, 47.22, -43.26)
CIE-LCHlch(59.47, 64.04, 317.51°)
OKLaboklab(67.02% 0.1185 -0.1203)
OKLCHoklch(67.02% 0.169 314.6)
XYZxyz(39.3148, 27.5434, 70.9417)
Luminance0.2754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71DC #92DC71
analogous
#8571DC #BB71DC #DC71C8
triadic
#BB71DC #DCBB71 #71DCBB
tetradic
#BB71DC #DC8571 #92DC71 #71C8DC
square
#BB71DC #DC8571 #92DC71 #71C8DC
split-complementary
#BB71DC #C8DC71 #71DC85
monochromatic
#822AA9 #A340D0 #BB71DC #D3A2E8 #EAD3F4

Accessibility & contrast

On white

3.23
#BB71DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#BB71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71DC
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71DC#FFFFFF#000000##000000
##BB71DC1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8BE0
Deuteranopia (green-blind)
#7091D9
Tritanopia (blue-blind)
#B9819C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #bb71dc;
/* rgb */ color: rgb(187, 113, 220);
/* oklch */ color: oklch(67.0% 0.169 314.6);
Tailwind
colors: {
  custom: {
    50: '#d19ce7',
    500: '#bb71dc',
    950: '#000000',
  },
}
SCSS
$custom: #bb71dc;
$custom-light: #d19ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71dc",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 281.495,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6702,
    "c": 0.16887,
    "h": 314.6
  },
  "luminance": 0.27542
}

Semantic roles & 50–950 ramp

primary
#BB71DC
secondary
#CDE6C2
accent
#C81D52
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#140E16
muted
#837E84

Preview Lab

Preview with #BB71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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