#BB5BB3#BB5BB3

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

Color values

HEX#BB5BB3
RGBrgb(187, 91, 179)
HSLhsl(305, 41%, 55%)
HSVhsv(305, 51%, 73%)
CMYKcmyk(0%, 51.3%, 4.3%, 26.7%)
CIE-LABlab(53.28, 50.55, -29.58)
CIE-LCHlch(53.28, 58.57, 329.67°)
OKLaboklab(61.81% 0.1432 -0.0808)
OKLCHoklch(61.81% 0.164 330.6)
XYZxyz(32.3710, 21.3036, 45.0461)
Luminance0.2130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB5BB3 #5BBB63
analogous
#935BBB #BB5BB3 #BB5B83
triadic
#BB5BB3 #B3BB5B #5BB3BB
tetradic
#BB5BB3 #BB935B #5BBB63 #5B83BB
square
#BB5BB3 #BB935B #5BBB63 #5B83BB
split-complementary
#BB5BB3 #83BB5B #5BBB93
monochromatic
#6E2E69 #994092 #BB5BB3 #CD86C7 #DFB2DB

Accessibility & contrast

On white

3.99
#BB5BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#BB5BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #BB5BB3
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB5BB3#FFFFFF#000000##000000
##BB5BB31.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5677B6
Deuteranopia (green-blind)
#7284B0
Tritanopia (blue-blind)
#C1637F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #bb5bb3;
/* rgb */ color: rgb(187, 91, 179);
/* oklch */ color: oklch(61.8% 0.164 330.6);
Tailwind
colors: {
  custom: {
    50: '#d28dca',
    500: '#bb5bb3',
    950: '#000000',
  },
}
SCSS
$custom: #bb5bb3;
$custom-light: #d28dca;
$custom-dark: #000000;
JSON
{
  "hex": "#bb5bb3",
  "rgb": {
    "r": 187,
    "g": 91,
    "b": 179
  },
  "hsl": {
    "h": 305,
    "s": 41.379,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61811,
    "c": 0.1644,
    "h": 330.6
  },
  "luminance": 0.21302
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BB5BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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