#BB2CA8#BB2CA8

#BB2CA8 is a mid, highly saturated purple. Relative luminance 0.152; OKLCH L 56.3% C 0.219 H 334.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#BB2CA8
RGBrgb(187, 44, 168)
HSLhsl(308, 62%, 45%)
HSVhsv(308, 76%, 73%)
CMYKcmyk(0%, 76.5%, 10.2%, 26.7%)
CIE-LABlab(45.90, 67.70, -34.67)
CIE-LCHlch(45.90, 76.06, 332.88°)
OKLaboklab(56.26% 0.1968 -0.095)
OKLCHoklch(56.26% 0.219 334.2)
XYZxyz(28.4624, 15.1958, 38.4723)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2CA8 #2CBB3F
analogous
#862CBB #BB2CA8 #BB2C60
triadic
#BB2CA8 #A8BB2C #2CA8BB
tetradic
#BB2CA8 #BB862C #2CBB3F #2C60BB
square
#BB2CA8 #BB862C #2CBB3F #2C60BB
split-complementary
#BB2CA8 #60BB2C #2CBB86
monochromatic
#58154F #89207B #BB2CA8 #D64FC4 #E180D4

Accessibility & contrast

On white

5.20
#BB2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#BB2CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2CA8
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2CA8#FFFFFF#000000##FFFFFF
##BB2CA81.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295FAB
Deuteranopia (green-blind)
#5F74A5
Tritanopia (blue-blind)
#C43A68
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #bb2ca8;
/* rgb */ color: rgb(187, 44, 168);
/* oklch */ color: oklch(56.3% 0.219 334.2);
Tailwind
colors: {
  custom: {
    50: '#d375c2',
    500: '#bb2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #bb2ca8;
$custom-light: #d375c2;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2ca8",
  "rgb": {
    "r": 187,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 307.972,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56264,
    "c": 0.21854,
    "h": 334.2
  },
  "luminance": 0.15193
}

Semantic roles & 50–950 ramp

primary
#BB2CA8
secondary
#79CA84
accent
#E55843
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150912
muted
#837B81

Preview Lab

Preview with #BB2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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