#BB2DBB#BB2DBB

#BB2DBB is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.4% C 0.231 H 328.1°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#BB2DBB
RGBrgb(187, 45, 187)
HSLhsl(300, 61%, 45%)
HSVhsv(300, 76%, 73%)
CMYKcmyk(0%, 75.9%, 0%, 26.7%)
CIE-LABlab(47.02, 70.32, -44.09)
CIE-LCHlch(47.02, 83.00, 327.91°)
OKLaboklab(57.39% 0.1963 -0.1223)
OKLCHoklch(57.39% 0.231 328.1)
XYZxyz(30.4012, 16.0317, 48.4973)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2DBB #2DBB2D
analogous
#742DBB #BB2DBB #BB2D74
triadic
#BB2DBB #BBBB2D #2DBBBB
tetradic
#BB2DBB #BB742D #2DBB2D #2D74BB
square
#BB2DBB #BB742D #2DBB2D #2D74BB
split-complementary
#BB2DBB #74BB2D #2DBB74
monochromatic
#581558 #8A218A #BB2DBB #D550D5 #E182E1

Accessibility & contrast

On white

4.99
#BB2DBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#BB2DBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2DBB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2DBB#FFFFFF#000000##FFFFFF
##BB2DBB1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0564BF
Deuteranopia (green-blind)
#5576B8
Tritanopia (blue-blind)
#C14573
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb2dbb;
/* rgb */ color: rgb(187, 45, 187);
/* oklch */ color: oklch(57.4% 0.231 328.1);
Tailwind
colors: {
  custom: {
    50: '#d476d0',
    500: '#bb2dbb',
    950: '#000000',
  },
}
SCSS
$custom: #bb2dbb;
$custom-light: #d476d0;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2dbb",
  "rgb": {
    "r": 187,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 300,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.57389,
    "c": 0.23124,
    "h": 328.1
  },
  "luminance": 0.16029
}

Semantic roles & 50–950 ramp

primary
#BB2DBB
secondary
#7ACA7A
accent
#E44343
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #BB2DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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