#BB2CDB#BB2CDB

#BB2CDB is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 59.3% C 0.257 H 319.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#BB2CDB
RGBrgb(187, 44, 219)
HSLhsl(289, 71%, 52%)
HSVhsv(289, 80%, 86%)
CMYKcmyk(14.6%, 79.9%, 0%, 14.1%)
CIE-LABlab(48.86, 75.98, -59.61)
CIE-LCHlch(48.86, 96.57, 321.89°)
OKLaboklab(59.32% 0.1942 -0.1676)
OKLCHoklch(59.32% 0.257 319.2)
XYZxyz(34.1787, 17.4824, 68.5782)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2CDB #4CDB2C
analogous
#642CDB #BB2CDB #DB2CA3
triadic
#BB2CDB #DBBB2C #2CDBBB
tetradic
#BB2CDB #DB642C #4CDB2C #2CA3DB
square
#BB2CDB #DB642C #4CDB2C #2CA3DB
split-complementary
#BB2CDB #A3DB2C #2CDB64
monochromatic
#661478 #921DAC #BB2CDB #CC60E4 #DD95ED

Accessibility & contrast

On white

4.67
#BB2CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#BB2CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2CDB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2CDB#FFFFFF#000000##FFFFFF
##BB2CDB1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE0
Deuteranopia (green-blind)
#3A79D7
Tritanopia (blue-blind)
#BB5485
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #bb2cdb;
/* rgb */ color: rgb(187, 44, 219);
/* oklch */ color: oklch(59.3% 0.257 319.2);
Tailwind
colors: {
  custom: {
    50: '#d477e7',
    500: '#bb2cdb',
    950: '#000000',
  },
}
SCSS
$custom: #bb2cdb;
$custom-light: #d477e7;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2cdb",
  "rgb": {
    "r": 187,
    "g": 44,
    "b": 219
  },
  "hsl": {
    "h": 289.029,
    "s": 70.85,
    "l": 51.569
  },
  "oklch": {
    "l": 0.59316,
    "c": 0.25653,
    "h": 319.2
  },
  "luminance": 0.17481
}

Semantic roles & 50–950 ramp

primary
#BB2CDB
secondary
#99D88B
accent
#EE3A5B
background
#FDF7FE
surface
#FBEEFC
border
#D4C9D5
text
#150A16
muted
#837C84

Preview Lab

Preview with #BB2CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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