#BB5BB2#BB5BB2

#BB5BB2 is a mid, vivid purple. Relative luminance 0.213; OKLCH L 61.8% C 0.164 H 331.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#BB5BB2
RGBrgb(187, 91, 178)
HSLhsl(306, 41%, 55%)
HSVhsv(306, 51%, 73%)
CMYKcmyk(0%, 51.3%, 4.8%, 26.7%)
CIE-LABlab(53.24, 50.38, -29.07)
CIE-LCHlch(53.24, 58.16, 330.02°)
OKLaboklab(61.76% 0.143 -0.0793)
OKLCHoklch(61.76% 0.164 331)
XYZxyz(32.2703, 21.2633, 44.5154)
Luminance0.2126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5BB2 #5BBB64
analogous
#945BBB #BB5BB2 #BB5B82
triadic
#BB5BB2 #B2BB5B #5BB2BB
tetradic
#BB5BB2 #BB945B #5BBB64 #5B82BB
square
#BB5BB2 #BB945B #5BBB64 #5B82BB
split-complementary
#BB5BB2 #82BB5B #5BBB94
monochromatic
#6E2E68 #994091 #BB5BB2 #CD86C6 #DFB2DB

Accessibility & contrast

On white

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

On black

5.25
#BB5BB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5BB2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5BB2#FFFFFF#000000##000000
##BB5BB21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5777B5
Deuteranopia (green-blind)
#7384AF
Tritanopia (blue-blind)
#C1637E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5bb2;
/* rgb */ color: rgb(187, 91, 178);
/* oklch */ color: oklch(61.8% 0.164 331.0);
Tailwind
colors: {
  custom: {
    50: '#d28dc9',
    500: '#bb5bb2',
    950: '#000000',
  },
}
SCSS
$custom: #bb5bb2;
$custom-light: #d28dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5bb2",
  "rgb": {
    "r": 187,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 305.625,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61764,
    "c": 0.16353,
    "h": 331
  },
  "luminance": 0.21261
}

Semantic roles & 50–950 ramp

primary
#BB5BB2
secondary
#A5CDA8
accent
#D16257
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #BB5BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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