#BB2CB8#BB2CB8

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

Color values

HEX#BB2CB8
RGBrgb(187, 44, 184)
HSLhsl(301, 62%, 45%)
HSVhsv(301, 76%, 73%)
CMYKcmyk(0%, 76.5%, 1.6%, 26.7%)
CIE-LABlab(46.75, 70.13, -42.76)
CIE-LCHlch(46.75, 82.14, 328.63°)
OKLaboklab(57.15% 0.1972 -0.1184)
OKLCHoklch(57.15% 0.23 329)
XYZxyz(30.0457, 15.8292, 46.8110)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2CB8 #2CBB2F
analogous
#772CBB #BB2CB8 #BB2C70
triadic
#BB2CB8 #B8BB2C #2CB8BB
tetradic
#BB2CB8 #BB772C #2CBB2F #2C70BB
square
#BB2CB8 #BB772C #2CBB2F #2C70BB
split-complementary
#BB2CB8 #70BB2C #2CBB77
monochromatic
#581557 #892087 #BB2CB8 #D64FD3 #E180DF

Accessibility & contrast

On white

5.04
#BB2CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#BB2CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2CB8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2CB8#FFFFFF#000000##FFFFFF
##BB2CB81.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D63BC
Deuteranopia (green-blind)
#5775B5
Tritanopia (blue-blind)
#C14271
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb2cb8;
/* rgb */ color: rgb(187, 44, 184);
/* oklch */ color: oklch(57.1% 0.230 329.0);
Tailwind
colors: {
  custom: {
    50: '#d476ce',
    500: '#bb2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #bb2cb8;
$custom-light: #d476ce;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2cb8",
  "rgb": {
    "r": 187,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 301.259,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57145,
    "c": 0.22996,
    "h": 329
  },
  "luminance": 0.15827
}

Semantic roles & 50–950 ramp

primary
#BB2CB8
secondary
#79CA7B
accent
#E54643
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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