#BB71D2#BB71D2

#BB71D2 is a light, vivid purple. Relative luminance 0.270; OKLCH L 66.5% C 0.158 H 317.8°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#BB71D2
RGBrgb(187, 113, 210)
HSLhsl(286, 52%, 63%)
HSVhsv(286, 46%, 82%)
CMYKcmyk(11%, 46.2%, 0%, 17.6%)
CIE-LABlab(59.00, 45.16, -38.37)
CIE-LCHlch(59.00, 59.26, 319.64°)
OKLaboklab(66.51% 0.1171 -0.1062)
OKLCHoklch(66.51% 0.158 317.8)
XYZxyz(38.0299, 27.0294, 64.1742)
Luminance0.2703 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB71D2 #88D271
analogous
#8A71D2 #BB71D2 #D271B8
triadic
#BB71D2 #D2BB71 #71D2BB
tetradic
#BB71D2 #D28A71 #88D271 #71B8D2
square
#BB71D2 #D28A71 #88D271 #71B8D2
split-complementary
#BB71D2 #B8D271 #71D28A
monochromatic
#803098 #A543C3 #BB71D2 #D19FE1 #E8CEEF

Accessibility & contrast

On white

3.28
#BB71D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#BB71D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB71D2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB71D2#FFFFFF#000000##000000
##BB71D21.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6089D5
Deuteranopia (green-blind)
#7590CF
Tritanopia (blue-blind)
#BB7E98
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #bb71d2;
/* rgb */ color: rgb(187, 113, 210);
/* oklch */ color: oklch(66.5% 0.158 317.8);
Tailwind
colors: {
  custom: {
    50: '#d19ce0',
    500: '#bb71d2',
    950: '#000000',
  },
}
SCSS
$custom: #bb71d2;
$custom-light: #d19ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb71d2",
  "rgb": {
    "r": 187,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 285.773,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66514,
    "c": 0.15807,
    "h": 317.8
  },
  "luminance": 0.27028
}

Semantic roles & 50–950 ramp

primary
#BB71D2
secondary
#C6E1BE
accent
#BF264B
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#140E15
muted
#837E83

Preview Lab

Preview with #BB71D2

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

Preview Lab → · Contrast checker → · Palette generator →

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