#BB2ABB#BB2ABB

#BB2ABB is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.2% C 0.234 H 328.1°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#BB2ABB
RGBrgb(187, 42, 187)
HSLhsl(300, 63%, 45%)
HSVhsv(300, 78%, 73%)
CMYKcmyk(0%, 77.5%, 0%, 26.7%)
CIE-LABlab(46.73, 71.16, -44.55)
CIE-LCHlch(46.73, 83.96, 327.95°)
OKLaboklab(57.18% 0.1987 -0.1236)
OKLCHoklch(57.18% 0.234 328.1)
XYZxyz(30.2908, 15.8109, 48.4605)
Luminance0.1581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2ABB #2ABB2A
analogous
#732ABB #BB2ABB #BB2A73
triadic
#BB2ABB #BBBB2A #2ABBBB
tetradic
#BB2ABB #BB732A #2ABB2A #2A73BB
square
#BB2ABB #BB732A #2ABB2A #2A73BB
split-complementary
#BB2ABB #73BB2A #2ABB73
monochromatic
#571457 #891F89 #BB2ABB #D74CD7 #E27DE2

Accessibility & contrast

On white

5.05
#BB2ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#BB2ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2ABB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2ABB#FFFFFF#000000##FFFFFF
##BB2ABB1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#5475B8
Tritanopia (blue-blind)
#C14372
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb2abb;
/* rgb */ color: rgb(187, 42, 187);
/* oklch */ color: oklch(57.2% 0.234 328.1);
Tailwind
colors: {
  custom: {
    50: '#d475d0',
    500: '#bb2abb',
    950: '#000000',
  },
}
SCSS
$custom: #bb2abb;
$custom-light: #d475d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2abb",
  "rgb": {
    "r": 187,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57182,
    "c": 0.23396,
    "h": 328.1
  },
  "luminance": 0.15809
}

Semantic roles & 50–950 ramp

primary
#BB2ABB
secondary
#76CA76
accent
#E64141
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB2ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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