#BB2DB7#BB2DB7

#BB2DB7 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.2% C 0.228 H 329.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#BB2DB7
RGBrgb(187, 45, 183)
HSLhsl(302, 61%, 45%)
HSVhsv(302, 76%, 73%)
CMYKcmyk(0%, 75.9%, 2.1%, 26.7%)
CIE-LABlab(46.79, 69.69, -42.10)
CIE-LCHlch(46.79, 81.42, 328.86°)
OKLaboklab(57.16% 0.1963 -0.1165)
OKLCHoklch(57.16% 0.228 329.3)
XYZxyz(29.9789, 15.8628, 46.2734)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2DB7 #2DBB31
analogous
#782DBB #BB2DB7 #BB2D70
triadic
#BB2DB7 #B7BB2D #2DB7BB
tetradic
#BB2DB7 #BB782D #2DBB31 #2D70BB
square
#BB2DB7 #BB782D #2DBB31 #2D70BB
split-complementary
#BB2DB7 #70BB2D #2DBB78
monochromatic
#581556 #8A2187 #BB2DB7 #D550D1 #E182DE

Accessibility & contrast

On white

5.03
#BB2DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #BB2DB7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2DB7#FFFFFF#000000##FFFFFF
##BB2DB71.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1363BB
Deuteranopia (green-blind)
#5875B4
Tritanopia (blue-blind)
#C24371
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #bb2db7;
/* rgb */ color: rgb(187, 45, 183);
/* oklch */ color: oklch(57.2% 0.228 329.3);
Tailwind
colors: {
  custom: {
    50: '#d376cd',
    500: '#bb2db7',
    950: '#000000',
  },
}
SCSS
$custom: #bb2db7;
$custom-light: #d376cd;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2db7",
  "rgb": {
    "r": 187,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 301.69,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.57159,
    "c": 0.22829,
    "h": 329.3
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#BB2DB7
secondary
#7ACA7C
accent
#E44843
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #BB2DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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