#BB5BB5#BB5BB5

#BB5BB5 is a mid, vivid purple. Relative luminance 0.214; OKLCH L 61.9% C 0.166 H 329.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#BB5BB5
RGBrgb(187, 91, 181)
HSLhsl(304, 41%, 55%)
HSVhsv(304, 51%, 73%)
CMYKcmyk(0%, 51.3%, 3.2%, 26.7%)
CIE-LABlab(53.37, 50.90, -30.60)
CIE-LCHlch(53.37, 59.39, 328.99°)
OKLaboklab(61.91% 0.1435 -0.0837)
OKLCHoklch(61.91% 0.166 329.8)
XYZxyz(32.5748, 21.3851, 46.1191)
Luminance0.2138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5BB5 #5BBB61
analogous
#915BBB #BB5BB5 #BB5B85
triadic
#BB5BB5 #B5BB5B #5BB5BB
tetradic
#BB5BB5 #BB915B #5BBB61 #5B85BB
square
#BB5BB5 #BB915B #5BBB61 #5B85BB
split-complementary
#BB5BB5 #85BB5B #5BBB91
monochromatic
#6E2E6A #994094 #BB5BB5 #CD86C9 #DFB2DC

Accessibility & contrast

On white

3.98
#BB5BB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#BB5BB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5BB5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5BB5#FFFFFF#000000##000000
##BB5BB51.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5577B8
Deuteranopia (green-blind)
#7284B2
Tritanopia (blue-blind)
#C16480
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5bb5;
/* rgb */ color: rgb(187, 91, 181);
/* oklch */ color: oklch(61.9% 0.166 329.8);
Tailwind
colors: {
  custom: {
    50: '#d28dcb',
    500: '#bb5bb5',
    950: '#000000',
  },
}
SCSS
$custom: #bb5bb5;
$custom-light: #d28dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5bb5",
  "rgb": {
    "r": 187,
    "g": 91,
    "b": 181
  },
  "hsl": {
    "h": 303.75,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61905,
    "c": 0.16614,
    "h": 329.8
  },
  "luminance": 0.21383
}

Semantic roles & 50–950 ramp

primary
#BB5BB5
secondary
#A5CDA7
accent
#D15E57
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB5BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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