#BB5BB1#BB5BB1

#BB5BB1 is a mid, vivid purple. Relative luminance 0.212; OKLCH L 61.7% C 0.163 H 331.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#BB5BB1
RGBrgb(187, 91, 177)
HSLhsl(306, 41%, 55%)
HSVhsv(306, 51%, 73%)
CMYKcmyk(0%, 51.3%, 5.3%, 26.7%)
CIE-LABlab(53.19, 50.21, -28.55)
CIE-LCHlch(53.19, 57.76, 330.37°)
OKLaboklab(61.72% 0.1428 -0.0779)
OKLCHoklch(61.72% 0.163 331.4)
XYZxyz(32.1702, 21.2233, 43.9885)
Luminance0.2122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5BB1 #5BBB65
analogous
#955BBB #BB5BB1 #BB5B81
triadic
#BB5BB1 #B1BB5B #5BB1BB
tetradic
#BB5BB1 #BB955B #5BBB65 #5B81BB
square
#BB5BB1 #BB955B #5BBB65 #5B81BB
split-complementary
#BB5BB1 #81BB5B #5BBB95
monochromatic
#6E2E67 #994090 #BB5BB1 #CD86C6 #DFB2DA

Accessibility & contrast

On white

4.00
#BB5BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#BB5BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5BB1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5BB1#FFFFFF#000000##000000
##BB5BB11.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5776B4
Deuteranopia (green-blind)
#7384AE
Tritanopia (blue-blind)
#C2627E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5bb1;
/* rgb */ color: rgb(187, 91, 177);
/* oklch */ color: oklch(61.7% 0.163 331.4);
Tailwind
colors: {
  custom: {
    50: '#d28dc8',
    500: '#bb5bb1',
    950: '#000000',
  },
}
SCSS
$custom: #bb5bb1;
$custom-light: #d28dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5bb1",
  "rgb": {
    "r": 187,
    "g": 91,
    "b": 177
  },
  "hsl": {
    "h": 306.25,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61718,
    "c": 0.16266,
    "h": 331.4
  },
  "luminance": 0.21221
}

Semantic roles & 50–950 ramp

primary
#BB5BB1
secondary
#A5CDA9
accent
#D16357
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB5BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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