#BB2ABA#BB2ABA

#BB2ABA is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.1% C 0.233 H 328.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#BB2ABA
RGBrgb(187, 42, 186)
HSLhsl(300, 63%, 45%)
HSVhsv(300, 78%, 73%)
CMYKcmyk(0%, 77.5%, 0.5%, 26.7%)
CIE-LABlab(46.67, 71.00, -44.06)
CIE-LCHlch(46.67, 83.56, 328.18°)
OKLaboklab(57.12% 0.1987 -0.1221)
OKLCHoklch(57.12% 0.233 328.4)
XYZxyz(30.1841, 15.7682, 47.8986)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2ABA #2ABB2B
analogous
#742ABB #BB2ABA #BB2A71
triadic
#BB2ABA #BABB2A #2ABABB
tetradic
#BB2ABA #BB742A #2ABB2B #2A71BB
square
#BB2ABA #BB742A #2ABB2B #2A71BB
split-complementary
#BB2ABA #71BB2A #2ABB74
monochromatic
#571457 #891F88 #BB2ABA #D74CD6 #E27DE1

Accessibility & contrast

On white

5.06
#BB2ABA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#BB2ABA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2ABA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2ABA#FFFFFF#000000##FFFFFF
##BB2ABA1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#5575B7
Tritanopia (blue-blind)
#C14272
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb2aba;
/* rgb */ color: rgb(187, 42, 186);
/* oklch */ color: oklch(57.1% 0.233 328.4);
Tailwind
colors: {
  custom: {
    50: '#d475cf',
    500: '#bb2aba',
    950: '#000000',
  },
}
SCSS
$custom: #bb2aba;
$custom-light: #d475cf;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2aba",
  "rgb": {
    "r": 187,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 300.414,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57123,
    "c": 0.23323,
    "h": 328.4
  },
  "luminance": 0.15766
}

Semantic roles & 50–950 ramp

primary
#BB2ABA
secondary
#76CA77
accent
#E64341
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB2ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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