#BB2CD7#BB2CD7

#BB2CD7 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 59.1% C 0.253 H 320.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#BB2CD7
RGBrgb(187, 44, 215)
HSLhsl(290, 68%, 51%)
HSVhsv(290, 80%, 84%)
CMYKcmyk(13%, 79.5%, 0%, 15.7%)
CIE-LABlab(48.60, 75.28, -57.74)
CIE-LCHlch(48.60, 94.87, 322.51°)
OKLaboklab(59.05% 0.1948 -0.1621)
OKLCHoklch(59.05% 0.253 320.2)
XYZxyz(33.6584, 17.2743, 65.8382)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB2CD7 #48D72C
analogous
#652CD7 #BB2CD7 #D72C9E
triadic
#BB2CD7 #D7BB2C #2CD7BB
tetradic
#BB2CD7 #D7652C #48D72C #2C9ED7
square
#BB2CD7 #D7652C #48D72C #2C9ED7
split-complementary
#BB2CD7 #9ED72C #2CD765
monochromatic
#641673 #9020A6 #BB2CD7 #CC5FE1 #DC93EB

Accessibility & contrast

On white

4.71
#BB2CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#BB2CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB2CD7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB2CD7#FFFFFF#000000##FFFFFF
##BB2CD71.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#3F78D3
Tritanopia (blue-blind)
#BC5283
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #bb2cd7;
/* rgb */ color: rgb(187, 44, 215);
/* oklch */ color: oklch(59.1% 0.253 320.2);
Tailwind
colors: {
  custom: {
    50: '#d477e4',
    500: '#bb2cd7',
    950: '#000000',
  },
}
SCSS
$custom: #bb2cd7;
$custom-light: #d477e4;
$custom-dark: #000000;
JSON
{
  "hex": "#bb2cd7",
  "rgb": {
    "r": 187,
    "g": 44,
    "b": 215
  },
  "hsl": {
    "h": 290.175,
    "s": 68.127,
    "l": 50.784
  },
  "oklch": {
    "l": 0.59052,
    "c": 0.25342,
    "h": 320.2
  },
  "luminance": 0.17272
}

Semantic roles & 50–950 ramp

primary
#BB2CD7
secondary
#96D589
accent
#EB3D59
background
#FDF7FE
surface
#FBEEFC
border
#D4C9D5
text
#150A16
muted
#837C84

Preview Lab

Preview with #BB2CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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